Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (window.location.pathname.split('/prepare/')[1]) {
- this.showHeader = false;
- }
- this.router.events
- .subscribe((event) => {
- if (event instanceof NavigationEnd) {
- this.showHeader = !event.url.split('/prepare/')[1];
- }
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement