Browse Source
Merge pull request #11203 from rusikv/bug/home-dashboard-user-menu-duplication
Fixed user menu duplication on customer home/default dashboard
pull/11294/head
Igor Kulikov
2 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
0 deletions
-
ui-ngx/src/app/core/auth/auth.service.ts
|
|
|
@ -624,6 +624,7 @@ export class AuthService { |
|
|
|
private userForceFullscreen(authPayload: AuthPayload): boolean { |
|
|
|
return (authPayload.authUser && authPayload.authUser.isPublic) || |
|
|
|
(authPayload.userDetails && authPayload.userDetails.additionalInfo && |
|
|
|
authPayload.userDetails.additionalInfo.defaultDashboardId && |
|
|
|
authPayload.userDetails.additionalInfo.defaultDashboardFullscreen && |
|
|
|
authPayload.userDetails.additionalInfo.defaultDashboardFullscreen === true); |
|
|
|
} |
|
|
|
|