Browse Source

Fix loading indicators

pull/7520/head
Thomas Kaul 4 weeks ago
parent
commit
88f282876f
  1. 4
      apps/client/src/app/components/user-detail-dialog/user-detail-dialog.component.ts

4
apps/client/src/app/components/user-detail-dialog/user-detail-dialog.component.ts

@ -57,14 +57,17 @@ export class GfUserDetailDialogComponent implements OnInit {
protected readonly canDeleteUser = canDeleteUser; protected readonly canDeleteUser = canDeleteUser;
protected readonly getCountryName = getCountryName; protected readonly getCountryName = getCountryName;
protected isLoading = true; protected isLoading = true;
protected readonly subscriptionsDataSource = protected readonly subscriptionsDataSource =
new MatTableDataSource<Subscription>(); new MatTableDataSource<Subscription>();
protected readonly subscriptionsDisplayedColumns = [ protected readonly subscriptionsDisplayedColumns = [
'createdAt', 'createdAt',
'type', 'type',
'price', 'price',
'expiresAt' 'expiresAt'
]; ];
protected user: AdminUserResponse; protected user: AdminUserResponse;
protected readonly data = inject<UserDetailDialogParams>(MAT_DIALOG_DATA); protected readonly data = inject<UserDetailDialogParams>(MAT_DIALOG_DATA);
@ -73,6 +76,7 @@ export class GfUserDetailDialogComponent implements OnInit {
private readonly changeDetectorRef = inject(ChangeDetectorRef); private readonly changeDetectorRef = inject(ChangeDetectorRef);
private readonly dataService = inject(DataService); private readonly dataService = inject(DataService);
private readonly destroyRef = inject(DestroyRef); private readonly destroyRef = inject(DestroyRef);
private readonly dialogRef = private readonly dialogRef =
inject<MatDialogRef<GfUserDetailDialogComponent, UserDetailDialogResult>>( inject<MatDialogRef<GfUserDetailDialogComponent, UserDetailDialogResult>>(
MatDialogRef MatDialogRef

Loading…
Cancel
Save