did thread fixes
This commit is contained in:
parent
42c2969707
commit
47d1477ac4
2 changed files with 8 additions and 10 deletions
|
|
@ -96,7 +96,7 @@ if ($i) {
|
|||
connection.on('notification', onNotification);
|
||||
|
||||
//For the favicon notification dot
|
||||
watch(() => $i?.hasUnreadNotification, (hasAny) => setFavIconDot((defaultStore.state.enableFaviconNotificationDot ? hasAny : false) ?? false));
|
||||
watch(() => $i?.hasUnreadNotification && defaultStore.state.enableFaviconNotificationDot, (hasAny) => setFavIconDot(hasAny as boolean));
|
||||
|
||||
if ($i.hasUnreadNotification && defaultStore.state.enableFaviconNotificationDot) setFavIconDot(true);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue