More informative empty state for scenes

This commit is contained in:
Paul Frazee 2022-11-09 17:34:55 -06:00
parent e7536289cb
commit ecf56729b0
2 changed files with 38 additions and 2 deletions

View file

@ -139,7 +139,11 @@ export class ProfileUiModel {
}
async loadMore() {
if (!this.currentView.isLoading && !this.currentView.hasError) {
if (
!this.currentView.isLoading &&
!this.currentView.hasError &&
!this.currentView.isEmpty
) {
await this.currentView.loadMore()
}
}