fix: 🐛 timeline secured
This commit is contained in:
parent
7e9c16501e
commit
dc00651c61
2 changed files with 4 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "misskey",
|
||||
"version": "12.118.1-calc.rc.9.5",
|
||||
"version": "12.118.1-calc.rc.9.6",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -48,10 +48,10 @@ const rootEl = $ref<HTMLElement>();
|
|||
|
||||
let queue = $ref(0);
|
||||
let srcWhenNotSignin = $ref(isLocalTimelineAvailable ? 'local' : 'global');
|
||||
let src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) });
|
||||
if (!enableGuestTimeline && !$i) {
|
||||
src = {};
|
||||
if (!enableGuestTimeline) {
|
||||
srcWhenNotSignin = '';
|
||||
}
|
||||
const src = $computed({ get: () => ($i ? defaultStore.reactiveState.tl.value.src : srcWhenNotSignin), set: (x) => saveSrc(x) });
|
||||
|
||||
watch ($$(src), () => queue = 0);
|
||||
|
||||
|
|
Loading…
Reference in a new issue