Skip to content
This repository was archived by the owner on Dec 18, 2024. It is now read-only.

Commit 1c793cd

Browse files
devversionmmalerba
authored andcommitted
chore: run explicit static-query timing migration (#587)
* chore: run explicit static-query timing migration * fixup! chore: run explicit static-query timing migration Remove whitespace from schematic
1 parent d19e9af commit 1c793cd

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/app/pages/component-sidenav/component-sidenav.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export class ComponentSidenav implements OnInit {
3535
.pipe(map(breakpoint => breakpoint.matches));
3636
}
3737

38-
@ViewChild(MatSidenav) sidenav: MatSidenav;
38+
@ViewChild(MatSidenav, {static: false}) sidenav: MatSidenav;
3939

4040
ngOnInit() {
4141
// Combine params from all of the path into a single object.

src/app/pages/component-viewer/component-viewer.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ export class ComponentViewer implements OnDestroy {
6565
encapsulation: ViewEncapsulation.None,
6666
})
6767
export class ComponentOverview implements OnInit {
68-
@ViewChild('initialFocusTarget') focusTarget: ElementRef;
69-
@ViewChild('toc') tableOfContents: TableOfContents;
68+
@ViewChild('initialFocusTarget', {static: false}) focusTarget: ElementRef;
69+
@ViewChild('toc', {static: false}) tableOfContents: TableOfContents;
7070
showToc: Observable<boolean>;
7171

7272
constructor(public componentViewer: ComponentViewer, breakpointObserver: BreakpointObserver) {

0 commit comments

Comments
 (0)