refresh when empty (#1354)
This commit is contained in:
@@ -405,6 +405,13 @@ export class NotificationsFeedModel {
|
|||||||
} finally {
|
} finally {
|
||||||
this.lock.release()
|
this.lock.release()
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// if there are no notifications, we should refresh the list
|
||||||
|
// this will only run for new users who have no notifications
|
||||||
|
// NOTE: needs to be after the lock is released
|
||||||
|
if (this.isEmpty) {
|
||||||
|
this.refresh()
|
||||||
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user