aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/menu
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-07-24 16:05:59 +0200
committerChocobozzz <me@florianbigard.com>2019-07-25 11:00:43 +0200
commitf36da21e40104a50acb00132920b835240cebb38 (patch)
treea513f8a31b3538b9bc6d1d52897d6b2fa04b45ba /client/src/app/menu
parenta353a4d77c2109f3d2412c54850a6534cf3b0b7f (diff)
downloadPeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.gz
PeerTube-f36da21e40104a50acb00132920b835240cebb38.tar.zst
PeerTube-f36da21e40104a50acb00132920b835240cebb38.zip
Update angular
Diffstat (limited to 'client/src/app/menu')
-rw-r--r--client/src/app/menu/avatar-notification.component.ts2
-rw-r--r--client/src/app/menu/language-chooser.component.ts2
-rw-r--r--client/src/app/menu/menu.component.ts2
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})
15export class AvatarNotificationComponent implements OnInit, OnDestroy { 15export 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})
11export class LanguageChooserComponent { 11export 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})
13export class MenuComponent implements OnInit { 13export 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