We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 62a752b commit 4a8d0b7Copy full SHA for 4a8d0b7
adev/src/app/app.component.ts
@@ -58,7 +58,7 @@ export class AppComponent implements OnInit {
58
59
isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
60
61
- displaySecondaryNav = input(false);
+ displaySecondaryNav = signal(false);
62
displayFooter = signal(false);
63
displaySearchDialog = inject(IS_SEARCH_DIALOG_OPEN);
64
@@ -75,6 +75,7 @@ export class AppComponent implements OnInit {
75
// so we access it via the snapshot
76
const activatedRoute = getActivatedRouteSnapshotFromRouter(this.router);
77
this.displayFooter.set(!activatedRoute.data['hideFooter']);
78
+ this.displaySecondaryNav.set(activatedRoute.data['displaySecondaryNav']);
79
80
this.displaySearchDialog.set(false);
81
this.updateCanonicalLink(url);
0 commit comments