Skip to content

Commit 3042864

Browse files
fix for logout page banner
1 parent 73cd919 commit 3042864

File tree

2 files changed

+1
-8
lines changed

2 files changed

+1
-8
lines changed

src/app/component/root123/root.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
}">
1919
<router-outlet></router-outlet>
2020
</div>
21-
<ws-app-footer class="app-footer" [ngClass]="{ 'padding-bottom: 56px': !isSetupPage}" *ngIf="showNavbar && !isPublic">
21+
<ws-app-footer class="app-footer" [ngClass]="{ 'padding-bottom: 56px': !isSetupPage}" *ngIf="showNavbar">
2222
</ws-app-footer>
2323
<ws-app-nav-bar class="bottom-nav-bar" [hidden]="!showNavbar" *ngIf="isNavBarRequired && (isXSmall$ | async) === true"
2424
[mode]="'bottom'">

src/app/component/root123/root.component.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ export class RootComponent implements OnInit, AfterViewInit {
4646
isInIframe = false
4747
appStartRaised = false
4848
isSetupPage = false
49-
isPublic = false
5049
constructor(
5150
private router: Router,
5251
// public authSvc: AuthKeycloakService,
@@ -90,12 +89,6 @@ export class RootComponent implements OnInit, AfterViewInit {
9089
} else {
9190
this.isNavBarRequired = true
9291
}
93-
94-
if (event.url.includes('public')) {
95-
this.isPublic = true
96-
} else {
97-
this.isPublic = false
98-
}
9992
this.routeChangeInProgress = true
10093
this.changeDetector.detectChanges()
10194
} else if (

0 commit comments

Comments
 (0)