diff --git a/packages/frontend/src/pages/timeline.vue b/packages/frontend/src/pages/timeline.vue index 095d1651e1..39281db947 100644 --- a/packages/frontend/src/pages/timeline.vue +++ b/packages/frontend/src/pages/timeline.vue @@ -71,7 +71,7 @@ router.useListener('same', () => { type TimelinePageSrc = BasicTimelineType | `list:${string}`; const queue = ref(0); -const srcWhenNotSignin = ref<'local' | 'global'>(isAvailableBasicTimeline('local') ? 'local' : 'global'); +const srcWhenNotSignin = ref<'local' | 'bubble' | 'global'>(isAvailableBasicTimeline('local') ? 'local' : 'global'); const src = computed({ get: () => ($i ? store.r.tl.value.src : srcWhenNotSignin.value), set: (x) => saveSrc(x), @@ -215,8 +215,8 @@ function saveSrc(newSrc: TimelinePageSrc): void { } store.set('tl', out); - if (['local', 'global'].includes(newSrc)) { - srcWhenNotSignin.value = newSrc as 'local' | 'global'; + if (['local', 'bubble', 'global'].includes(newSrc)) { + srcWhenNotSignin.value = newSrc as 'local' | 'bubble' | 'global'; } }