|
|
@ -65,7 +65,7 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit, |
|
|
public callsMax: string | null = null; |
|
|
public callsMax: string | null = null; |
|
|
|
|
|
|
|
|
constructor(apps: AppsStoreService, notifications: NotificationService, |
|
|
constructor(apps: AppsStoreService, notifications: NotificationService, |
|
|
private readonly auth: AuthService, |
|
|
private readonly authService: AuthService, |
|
|
private readonly usagesService: UsagesService |
|
|
private readonly usagesService: UsagesService |
|
|
) { |
|
|
) { |
|
|
super(notifications, apps); |
|
|
super(notifications, apps); |
|
|
@ -155,8 +155,8 @@ export class DashboardPageComponent extends AppComponentBase implements OnInit, |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
this.authenticationSubscription = |
|
|
this.authenticationSubscription = |
|
|
this.auth.isAuthenticated.subscribe(() => { |
|
|
this.authService.isAuthenticated.subscribe(() => { |
|
|
const user = this.auth.user; |
|
|
const user = this.authService.user; |
|
|
|
|
|
|
|
|
if (user) { |
|
|
if (user) { |
|
|
this.profileDisplayName = user.displayName; |
|
|
this.profileDisplayName = user.displayName; |
|
|
|