diff options
Diffstat (limited to 'client/src/app/+my-account/my-account-videos/my-account-videos.component.ts')
-rw-r--r-- | client/src/app/+my-account/my-account-videos/my-account-videos.component.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts index 4aa570363..0ec033eaf 100644 --- a/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts +++ b/client/src/app/+my-account/my-account-videos/my-account-videos.component.ts | |||
@@ -12,7 +12,7 @@ import { VideoService } from '../../shared/video/video.service' | |||
12 | import { I18n } from '@ngx-translate/i18n-polyfill' | 12 | import { I18n } from '@ngx-translate/i18n-polyfill' |
13 | import { ScreenService } from '@app/shared/misc/screen.service' | 13 | import { ScreenService } from '@app/shared/misc/screen.service' |
14 | import { VideoChangeOwnershipComponent } from './video-change-ownership/video-change-ownership.component' | 14 | import { VideoChangeOwnershipComponent } from './video-change-ownership/video-change-ownership.component' |
15 | import { MiniatureDisplayOptions } from '@app/shared/video/video-miniature.component' | 15 | import { MiniatureDisplayOptions, OwnerDisplayType } from '@app/shared/video/video-miniature.component' |
16 | import { SelectionType, VideosSelectionComponent } from '@app/shared/video/videos-selection.component' | 16 | import { SelectionType, VideosSelectionComponent } from '@app/shared/video/videos-selection.component' |
17 | import { VideoSortField } from '@app/shared/video/sort-field.type' | 17 | import { VideoSortField } from '@app/shared/video/sort-field.type' |
18 | import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' | 18 | import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook' |
@@ -36,12 +36,14 @@ export class MyAccountVideosComponent implements OnInit, DisableForReuseHook { | |||
36 | miniatureDisplayOptions: MiniatureDisplayOptions = { | 36 | miniatureDisplayOptions: MiniatureDisplayOptions = { |
37 | date: true, | 37 | date: true, |
38 | views: true, | 38 | views: true, |
39 | by: false, | 39 | by: true, |
40 | privacyLabel: false, | 40 | privacyLabel: false, |
41 | privacyText: true, | 41 | privacyText: true, |
42 | state: true, | 42 | state: true, |
43 | blacklistInfo: true | 43 | blacklistInfo: true |
44 | } | 44 | } |
45 | ownerDisplayType: OwnerDisplayType = 'videoChannel' | ||
46 | |||
45 | videos: Video[] = [] | 47 | videos: Video[] = [] |
46 | videosSearch: string | 48 | videosSearch: string |
47 | videosSearchChanged = new Subject<string>() | 49 | videosSearchChanged = new Subject<string>() |