fix: 🐛 Allow timeline if logged in, loll

This commit is contained in:
ThatOneCalculator 2022-08-09 16:15:58 -07:00
parent 3fd553b82b
commit 7e9c16501e
2 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "misskey", "name": "misskey",
"version": "12.118.1-calc.rc.9.4", "version": "12.118.1-calc.rc.9.5",
"codename": "aqua", "codename": "aqua",
"repository": { "repository": {
"type": "git", "type": "git",

View File

@ -49,7 +49,7 @@ const rootEl = $ref<HTMLElement>();
let queue = $ref(0); let queue = $ref(0);
let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global'); let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global');
let src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) }); let src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) });
if (!enableGuestTimeline) { if (!enableGuestTimeline && !$i) {
src = {}; src = {};
} }