fix(frontend): switching accounts never shows the previous account's chats for a moment
This commit is contained in:
1 parent
f5a8649855
commit
d8ad62fb59
1 file changed
+3
@@ -54,6 +54,9 @@ function createChats() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function active(): Bucket | undefined {
|
function active(): Bucket | undefined {
|
||||||
|
if (account !== accounts.selectedId) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
return buckets[activeKey()];
|
return buckets[activeKey()];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user