Migrated to angular 9

This commit is contained in:
Isaac Grynsztein
2020-03-14 23:37:27 -04:00
parent 20b580b76f
commit 0981dd216d
6 changed files with 36 additions and 26 deletions

View File

@@ -36,8 +36,8 @@ export class AppComponent implements OnInit {
allowThemeChange = null;
allowSubscriptions = false;
@ViewChild('sidenav', {static: false}) sidenav: MatSidenav;
@ViewChild('hamburgerMenu', {static: false, read: ElementRef}) hamburgerMenuButton: ElementRef;
@ViewChild('sidenav') sidenav: MatSidenav;
@ViewChild('hamburgerMenu', { read: ElementRef }) hamburgerMenuButton: ElementRef;
navigator: string = null;
constructor(public postsService: PostsService, public snackBar: MatSnackBar, private dialog: MatDialog,