1
0
forked from mirror/misskey

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

This commit is contained in:
mattyatea 2023-10-01 18:18:08 +09:00
parent 3ac7a34b63
commit a328a03c51

View File

@ -67,6 +67,7 @@ const onlyFiles_store = computed(defaultStore.makeGetterSetter('onlyFiles'))
const withRenotes = $ref(defaultStore.state.onlyAndWithSave ? withRenotes_store : true); const withRenotes = $ref(defaultStore.state.onlyAndWithSave ? withRenotes_store : true);
const withReplies = $ref(defaultStore.state.onlyAndWithSave ? withReplies_store : false); const withReplies = $ref(defaultStore.state.onlyAndWithSave ? withReplies_store : false);
const onlyFiles = $ref(defaultStore.state.onlyAndWithSave ? onlyFiles_store : false); const onlyFiles = $ref(defaultStore.state.onlyAndWithSave ? onlyFiles_store : false);
const isShowMediaTimeline = $ref(defaultStore.state.showMediaTimeline)
watch($$(src), () => queue = 0); watch($$(src), () => queue = 0);
function queueUpdated(q: number): void { function queueUpdated(q: number): void {
@ -175,7 +176,12 @@ const headerTabs = $computed(() => [...(defaultStore.reactiveState.pinnedUserLis
title: i18n.ts._timelines.local, title: i18n.ts._timelines.local,
icon: 'ti ti-planet', icon: 'ti ti-planet',
iconOnly: true, iconOnly: true,
}, { }, ...(isShowMediaTimeline ? [{
key: 'media',
title: i18n.ts._timelines.media,
icon: 'ti ti-photo',
iconOnly: true,
}] : []),{
key: 'social', key: 'social',
title: i18n.ts._timelines.social, title: i18n.ts._timelines.social,
icon: 'ti ti-rocket', icon: 'ti ti-rocket',