enhance(frontend): デッキのアンテナ・リスト選択画面からそれぞれを新規作成できるように (#14104)
* enhance(frontend): デッキのアンテナ・リスト選択画面からそれぞれを新規作成できるように * Update Changelog * fix * fix * lint * add story * typo ねぼけていた * Update antenna-column.vue --------- Co-authored-by: syuilo <4439005+syuilo@users.noreply.github.com>
This commit is contained in:
parent
de3ddb5b44
commit
738b3ea43b
22 changed files with 409 additions and 113 deletions
|
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||
-->
|
||||
|
||||
<template>
|
||||
<XColumn :menu="menu" :column="column" :isStacked="isStacked" :refresher="() => timeline.reloadTimeline()">
|
||||
<XColumn :menu="menu" :column="column" :isStacked="isStacked" :refresher="async () => { await timeline?.reloadTimeline() }">
|
||||
<template #header>
|
||||
<i class="ti ti-device-tv"></i><span style="margin-left: 8px;">{{ column.name }}</span>
|
||||
</template>
|
||||
|
|
@ -68,6 +68,7 @@ async function setChannel() {
|
|||
}
|
||||
|
||||
async function post() {
|
||||
if (props.column.channelId == null) return;
|
||||
if (!channel.value || channel.value.id !== props.column.channelId) {
|
||||
channel.value = await misskeyApi('channels/show', {
|
||||
channelId: props.column.channelId,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue