listのやつみれないのを修正

This commit is contained in:
mattyatea 2023-10-01 18:18:08 +09:00
parent 3ac7a34b63
commit a328a03c51
1 changed files with 7 additions and 1 deletions

View File

@ -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',