From a328a03c51732c1e7bc9776695f8a33c92674d0e Mon Sep 17 00:00:00 2001 From: mattyatea Date: Sun, 1 Oct 2023 18:18:08 +0900 Subject: [PATCH] =?UTF-8?q?list=E3=81=AE=E3=82=84=E3=81=A4=E3=81=BF?= =?UTF-8?q?=E3=82=8C=E3=81=AA=E3=81=84=E3=81=AE=E3=82=92=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/frontend/src/pages/timeline.vue | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index e86ce3fad6..1fd0d44c8b 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -67,6 +67,7 @@ const onlyFiles_store = computed(defaultStore.makeGetterSetter('onlyFiles')) const withRenotes = $ref(defaultStore.state.onlyAndWithSave ? withRenotes_store : true); const withReplies = $ref(defaultStore.state.onlyAndWithSave ? withReplies_store : false); const onlyFiles = $ref(defaultStore.state.onlyAndWithSave ? onlyFiles_store : false); +const isShowMediaTimeline = $ref(defaultStore.state.showMediaTimeline) watch($$(src), () => queue = 0); function queueUpdated(q: number): void { @@ -175,7 +176,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis title: i18n.ts._timelines.local, icon: 'ti ti-planet', iconOnly: true, -}, { +}, ...(isShowMediaTimeline ? [{ + key: 'media', + title: i18n.ts._timelines.media, + icon: 'ti ti-photo', + iconOnly: true, +}] : []),{ key: 'social', title: i18n.ts._timelines.social, icon: 'ti ti-rocket',