summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/pages/users/users.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'portal-FE-common/src/app/pages/users/users.component.ts')
-rw-r--r--portal-FE-common/src/app/pages/users/users.component.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/portal-FE-common/src/app/pages/users/users.component.ts b/portal-FE-common/src/app/pages/users/users.component.ts
index 935be921..39bf9223 100644
--- a/portal-FE-common/src/app/pages/users/users.component.ts
+++ b/portal-FE-common/src/app/pages/users/users.component.ts
@@ -212,6 +212,8 @@ export class UsersComponent implements OnInit {
this.accountUsers = accountUsers;
if (!accountUsers || accountUsers.length === 0) {
this.noUsersInApp = true;
+ this.showSpinner = false;
+ return null;
}
this.showSpinner = false;
this.adminsDataSource = new MatTableDataSource(this.accountUsers);