fix: 🐛 No computed on declared var
This commit is contained in:
parent
4f0030ecc8
commit
3fd553b82b
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "misskey",
|
||||
"version": "12.118.1-calc.rc.9.3",
|
||||
"version": "12.118.1-calc.rc.9.4",
|
||||
"codename": "aqua",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
|
|
@ -50,7 +50,7 @@ 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) {
|
||||
src = $computed({});
|
||||
src = {};
|
||||
}
|
||||
|
||||
watch ($$(src), () => queue = 0);
|
||||
|
|
Loading…
Reference in New Issue