aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-02-07 10:00:34 +0100
committerChocobozzz <chocobozzz@cpy.re>2020-02-10 16:39:28 +0100
commit2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05 (patch)
treed0e4a334a25f19d888f257a71c9a3c8095d04e0b /client/src/app/shared
parent6c5bc93a3ab9403a76e38814c16167b5af647c10 (diff)
downloadPeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.tar.gz
PeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.tar.zst
PeerTube-2f5d2ec5ea4fedf2466e1db2d16878b1467b1e05.zip
Update to angular 9
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/moderation/user-moderation-dropdown.component.ts2
-rw-r--r--client/src/app/shared/video-playlist/video-playlist-element-miniature.component.ts2
-rw-r--r--client/src/app/shared/video/video-actions-dropdown.component.ts10
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})
16export class UserModerationDropdownComponent implements OnInit, OnChanges { 16export 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})
20export class VideoPlaylistElementMiniatureComponent implements OnInit { 20export 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})
34export class VideoActionsDropdownComponent implements OnChanges { 34export 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[] = []