Browse Source

UI: Fixed routing path for fullscreen mode

pull/8819/head
Artem Dzhereleiko 3 years ago
parent
commit
6dfd0a5439
  1. 2
      ui-ngx/src/app/core/auth/auth.service.ts

2
ui-ngx/src/app/core/auth/auth.service.ts

@ -244,7 +244,7 @@ export class AuthService {
if (authState && authState.authUser) {
if (authState.authUser.authority === Authority.TENANT_ADMIN || authState.authUser.authority === Authority.CUSTOMER_USER) {
if ((this.userHasDefaultDashboard(authState) && authState.forceFullscreen) || authState.authUser.isPublic) {
if (path === 'profile' || path === 'security') {
if (path === 'account' || path === 'account.profile' || path === 'account.security' || path === 'account.notificationSettings') {
if (this.userHasProfile(authState.authUser)) {
return false;
} else {

Loading…
Cancel
Save