diff options
Diffstat (limited to 'src/state/models/notifications-view.ts')
-rw-r--r-- | src/state/models/notifications-view.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/state/models/notifications-view.ts b/src/state/models/notifications-view.ts index 3a91eb322..c328be62b 100644 --- a/src/state/models/notifications-view.ts +++ b/src/state/models/notifications-view.ts @@ -160,6 +160,9 @@ export class NotificationsViewModel { * Load for first render */ async setup(isRefreshing = false) { + if (isRefreshing) { + this.isRefreshing = true // set optimistically for UI + } if (this._loadPromise) { return this._loadPromise } |