mirror of
https://github.com/misskey-dev/misskey.git
synced 2024-11-22 06:48:47 +01:00
Update timeline.vue (fix wrong type)
This commit is contained in:
parent
748a7e8f6a
commit
571566d476
1 changed files with 1 additions and 1 deletions
|
@ -60,7 +60,7 @@ provide('shouldOmitHeaderTitle', true);
|
||||||
const tlComponent = shallowRef<InstanceType<typeof MkTimeline>>();
|
const tlComponent = shallowRef<InstanceType<typeof MkTimeline>>();
|
||||||
const rootEl = shallowRef<HTMLElement>();
|
const rootEl = shallowRef<HTMLElement>();
|
||||||
|
|
||||||
type TimelinePageSrc = BasicTimelineType & `list:${string}`;
|
type TimelinePageSrc = BasicTimelineType | `list:${string}`;
|
||||||
|
|
||||||
const queue = ref(0);
|
const queue = ref(0);
|
||||||
const srcWhenNotSignin = ref<'local' | 'global'>(isAvailableBasicTimeline('local') ? 'local' : 'global');
|
const srcWhenNotSignin = ref<'local' | 'global'>(isAvailableBasicTimeline('local') ? 'local' : 'global');
|
||||||
|
|
Loading…
Reference in a new issue