summaryrefslogtreecommitdiff
path: root/packages/frontend/src
diff options
context:
space:
mode:
authorおさむのひと <46447427+samunohito@users.noreply.github.com>2023-12-14 07:18:29 +0900
committerGitHub <noreply@github.com>2023-12-14 07:18:29 +0900
commiteeed67ecac8fca3d542c4d68c1eb13ca113c5053 (patch)
tree44db0f1f3cdd5ed6ace115edc34da4c76266eb52 /packages/frontend/src
parentfix(backend): モデレーションログがモデレーターは閲覧でき... (diff)
downloadmisskey-eeed67ecac8fca3d542c4d68c1eb13ca113c5053.tar.gz
misskey-eeed67ecac8fca3d542c4d68c1eb13ca113c5053.tar.bz2
misskey-eeed67ecac8fca3d542c4d68c1eb13ca113c5053.zip
(fix) デフォルト表示時のヘッダにあるチャンネルボタンが反応しない現象の修正 (#12648)
* dividerの仕変に追従 * fix type
Diffstat (limited to 'packages/frontend/src')
-rw-r--r--packages/frontend/src/pages/timeline.vue4
1 files changed, 2 insertions, 2 deletions
diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue
index f3213ad273..59c45a57ff 100644
--- a/packages/frontend/src/pages/timeline.vue
+++ b/packages/frontend/src/pages/timeline.vue
@@ -125,14 +125,14 @@ async function chooseChannel(ev: MouseEvent): Promise<void> {
const channels = await os.api('channels/my-favorites', {
limit: 100,
});
- const items = [
+ const items: MenuItem[] = [
...channels.map(channel => ({
type: 'link' as const,
text: channel.name,
indicate: channel.hasUnreadNote,
to: `/channels/${channel.id}`,
})),
- (channels.length === 0 ? undefined : null),
+ (channels.length === 0 ? undefined : { type: 'divider' }),
{
type: 'link' as const,
icon: 'ti ti-plus',