diff --git a/packages/nc-gui/store/notification.ts b/packages/nc-gui/store/notification.ts index 71fe9cb05b..403948bf48 100644 --- a/packages/nc-gui/store/notification.ts +++ b/packages/nc-gui/store/notification.ts @@ -28,7 +28,7 @@ export const useNotification = defineStore('notificationStore', () => { unreadCount.value = unreadCount.value + 1 } - await pollNotifications() + setTimeout(pollNotifications, 0) } catch (e) { // If network error, retry after 2 seconds setTimeout(pollNotifications, 2000)