Skip to content

Commit

Permalink
Changes for home page with UTM
Browse files Browse the repository at this point in the history
  • Loading branch information
likhithThammegowda committed Nov 4, 2024
1 parent 7d8dcc0 commit c319113
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/app/component/root/root.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,11 @@ export class RootComponent implements OnInit, AfterViewInit, OnDestroy {
if (event.url.includes('/public/login')) {
this.showNavigation = false
}
if (this.router.url === '/page/home' || this.router.url === '/public/home' || this.router.url === '/') {
if (
this.router.url.includes('/page/home') ||
this.router.url.includes('/public/home') ||
this.router.url === '/'
) {
this.isHomePage = true
} else {
this.isHomePage = false
Expand Down

0 comments on commit c319113

Please sign in to comment.