diff options
Diffstat (limited to 'client/src/app/shared')
3 files changed, 7 insertions, 7 deletions
diff --git a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts index 11d8588f4..9197556b0 100644 --- a/client/src/app/shared/moderation/user-moderation-dropdown.component.ts +++ b/client/src/app/shared/moderation/user-moderation-dropdown.component.ts | |||
@@ -14,7 +14,7 @@ import { ServerConfig } from '@shared/models' | |||
14 | templateUrl: './user-moderation-dropdown.component.html' | 14 | templateUrl: './user-moderation-dropdown.component.html' |
15 | }) | 15 | }) |
16 | export class UserModerationDropdownComponent implements OnInit, OnChanges { | 16 | export class UserModerationDropdownComponent implements OnInit, OnChanges { |
17 | @ViewChild('userBanModal', { static: false }) userBanModal: UserBanModalComponent | 17 | @ViewChild('userBanModal') userBanModal: UserBanModalComponent |
18 | 18 | ||
19 | @Input() user: User | 19 | @Input() user: User |
20 | @Input() account: Account | 20 | @Input() account: Account |
diff --git a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts index 4864581b5..a2c0724cd 100644 --- a/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts +++ b/client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts | |||
@@ -18,7 +18,7 @@ import { VideoPlaylistElement } from '@app/shared/video-playlist/video-playlist- | |||
18 | changeDetection: ChangeDetectionStrategy.OnPush | 18 | changeDetection: ChangeDetectionStrategy.OnPush |
19 | }) | 19 | }) |
20 | export class VideoPlaylistElementMiniatureComponent implements OnInit { | 20 | export class VideoPlaylistElementMiniatureComponent implements OnInit { |
21 | @ViewChild('moreDropdown', { static: false }) moreDropdown: NgbDropdown | 21 | @ViewChild('moreDropdown') moreDropdown: NgbDropdown |
22 | 22 | ||
23 | @Input() playlist: VideoPlaylist | 23 | @Input() playlist: VideoPlaylist |
24 | @Input() playlistElement: VideoPlaylistElement | 24 | @Input() playlistElement: VideoPlaylistElement |
diff --git a/client/src/app/shared/video/video-actions-dropdown.component.ts b/client/src/app/shared/video/video-actions-dropdown.component.ts index 390d74c52..69f45346e 100644 --- a/client/src/app/shared/video/video-actions-dropdown.component.ts +++ b/client/src/app/shared/video/video-actions-dropdown.component.ts | |||
@@ -32,12 +32,12 @@ export type VideoActionsDisplayType = { | |||
32 | styleUrls: [ './video-actions-dropdown.component.scss' ] | 32 | styleUrls: [ './video-actions-dropdown.component.scss' ] |
33 | }) | 33 | }) |
34 | export class VideoActionsDropdownComponent implements OnChanges { | 34 | export class VideoActionsDropdownComponent implements OnChanges { |
35 | @ViewChild('playlistDropdown', { static: false }) playlistDropdown: NgbDropdown | 35 | @ViewChild('playlistDropdown') playlistDropdown: NgbDropdown |
36 | @ViewChild('playlistAdd', { static: false }) playlistAdd: VideoAddToPlaylistComponent | 36 | @ViewChild('playlistAdd') playlistAdd: VideoAddToPlaylistComponent |
37 | 37 | ||
38 | @ViewChild('videoDownloadModal', { static: false }) videoDownloadModal: VideoDownloadComponent | 38 | @ViewChild('videoDownloadModal') videoDownloadModal: VideoDownloadComponent |
39 | @ViewChild('videoReportModal', { static: false }) videoReportModal: VideoReportComponent | 39 | @ViewChild('videoReportModal') videoReportModal: VideoReportComponent |
40 | @ViewChild('videoBlacklistModal', { static: false }) videoBlacklistModal: VideoBlacklistComponent | 40 | @ViewChild('videoBlacklistModal') videoBlacklistModal: VideoBlacklistComponent |
41 | 41 | ||
42 | @Input() video: Video | VideoDetails | 42 | @Input() video: Video | VideoDetails |
43 | @Input() videoCaptions: VideoCaption[] = [] | 43 | @Input() videoCaptions: VideoCaption[] = [] |