Skip to content

Commit 4a8d0b7

Browse files
JeanMechecrisbeto
authored andcommitted
docs(docs-infra): fix secondary menu (#60212)
fixes #58897 PR Close #60212
1 parent 62a752b commit 4a8d0b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adev/src/app/app.component.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export class AppComponent implements OnInit {
5858

5959
isBrowser = isPlatformBrowser(inject(PLATFORM_ID));
6060

61-
displaySecondaryNav = input(false);
61+
displaySecondaryNav = signal(false);
6262
displayFooter = signal(false);
6363
displaySearchDialog = inject(IS_SEARCH_DIALOG_OPEN);
6464

@@ -75,6 +75,7 @@ export class AppComponent implements OnInit {
7575
// so we access it via the snapshot
7676
const activatedRoute = getActivatedRouteSnapshotFromRouter(this.router);
7777
this.displayFooter.set(!activatedRoute.data['hideFooter']);
78+
this.displaySecondaryNav.set(activatedRoute.data['displaySecondaryNav']);
7879

7980
this.displaySearchDialog.set(false);
8081
this.updateCanonicalLink(url);

0 commit comments

Comments
 (0)