about summary refs log tree commit diff
path: root/src/state/models/notifications-view.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/state/models/notifications-view.ts')
-rw-r--r--src/state/models/notifications-view.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/models/notifications-view.ts b/src/state/models/notifications-view.ts
index e81f31a25..f820c71b7 100644
--- a/src/state/models/notifications-view.ts
+++ b/src/state/models/notifications-view.ts
@@ -317,6 +317,9 @@ export class NotificationsViewModel {
   }
 
   private async _update() {
+    if (!this.notifications.length) {
+      return
+    }
     this._xLoading()
     let numToFetch = this.notifications.length
     let cursor = undefined