mirror of
https://github.com/cheeaun/phanpy.git
synced 2025-02-02 14:16:39 +01:00
Test fix race-condition for new notifications
This commit is contained in:
parent
cf1c10b338
commit
061d769901
1 changed files with 3 additions and 0 deletions
|
@ -221,6 +221,9 @@ function Notifications({ columnMode }) {
|
|||
lastHiddenTime.current = Date.now();
|
||||
}
|
||||
unsub = subscribeKey(states, 'notificationsShowNew', (v) => {
|
||||
if (uiState === 'loading') {
|
||||
return;
|
||||
}
|
||||
if (v) {
|
||||
loadUpdates();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue