mirror of
https://github.com/shuaiplus/nodewarden.git
synced 2026-06-22 21:50:13 +00:00
Fix realtime sync notifications
This commit is contained in:
+1
-2
@@ -1626,7 +1626,7 @@ export default function App() {
|
||||
continue;
|
||||
}
|
||||
if (contextId && contextId === getCurrentDeviceIdentifier()) continue;
|
||||
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_CIPHERS) {
|
||||
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_CIPHERS || updateType === SIGNALR_UPDATE_TYPE_SYNC_VAULT) {
|
||||
if (notificationRefreshTimerRef.current !== null) {
|
||||
window.clearTimeout(notificationRefreshTimerRef.current);
|
||||
}
|
||||
@@ -1660,7 +1660,6 @@ export default function App() {
|
||||
deleteSendLocally(resourceId, revisionStamp);
|
||||
continue;
|
||||
}
|
||||
if (updateType === SIGNALR_UPDATE_TYPE_SYNC_VAULT) continue;
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user