diff options
Diffstat (limited to 'client/src/app/menu')
-rw-r--r-- | client/src/app/menu/avatar-notification.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/menu/language-chooser.component.ts | 2 | ||||
-rw-r--r-- | client/src/app/menu/menu.component.ts | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/client/src/app/menu/avatar-notification.component.ts b/client/src/app/menu/avatar-notification.component.ts index a77a001ca..38dbb935b 100644 --- a/client/src/app/menu/avatar-notification.component.ts +++ b/client/src/app/menu/avatar-notification.component.ts | |||
@@ -13,7 +13,7 @@ import { filter } from 'rxjs/operators' | |||
13 | styleUrls: [ './avatar-notification.component.scss' ] | 13 | styleUrls: [ './avatar-notification.component.scss' ] |
14 | }) | 14 | }) |
15 | export class AvatarNotificationComponent implements OnInit, OnDestroy { | 15 | export class AvatarNotificationComponent implements OnInit, OnDestroy { |
16 | @ViewChild('popover') popover: NgbPopover | 16 | @ViewChild('popover', { static: true }) popover: NgbPopover |
17 | @Input() user: User | 17 | @Input() user: User |
18 | 18 | ||
19 | unreadNotifications = 0 | 19 | unreadNotifications = 0 |
diff --git a/client/src/app/menu/language-chooser.component.ts b/client/src/app/menu/language-chooser.component.ts index 8eb84673e..4a6e4c75a 100644 --- a/client/src/app/menu/language-chooser.component.ts +++ b/client/src/app/menu/language-chooser.component.ts | |||
@@ -9,7 +9,7 @@ import { sortBy } from '@app/shared/misc/utils' | |||
9 | styleUrls: [ './language-chooser.component.scss' ] | 9 | styleUrls: [ './language-chooser.component.scss' ] |
10 | }) | 10 | }) |
11 | export class LanguageChooserComponent { | 11 | export class LanguageChooserComponent { |
12 | @ViewChild('modal') modal: ElementRef | 12 | @ViewChild('modal', { static: true }) modal: ElementRef |
13 | 13 | ||
14 | languages: { id: string, label: string }[] = [] | 14 | languages: { id: string, label: string }[] = [] |
15 | 15 | ||
diff --git a/client/src/app/menu/menu.component.ts b/client/src/app/menu/menu.component.ts index ede64b7eb..c7c31577a 100644 --- a/client/src/app/menu/menu.component.ts +++ b/client/src/app/menu/menu.component.ts | |||
@@ -11,7 +11,7 @@ import { HotkeysService } from 'angular2-hotkeys' | |||
11 | styleUrls: [ './menu.component.scss' ] | 11 | styleUrls: [ './menu.component.scss' ] |
12 | }) | 12 | }) |
13 | export class MenuComponent implements OnInit { | 13 | export class MenuComponent implements OnInit { |
14 | @ViewChild('languageChooserModal') languageChooserModal: LanguageChooserComponent | 14 | @ViewChild('languageChooserModal', { static: true }) languageChooserModal: LanguageChooserComponent |
15 | 15 | ||
16 | user: User | 16 | user: User |
17 | isLoggedIn: boolean | 17 | isLoggedIn: boolean |