ActivityPub-federated video streaming platform using P2P directly in your web browser
Fix privacy label display
Chocobozzzabf325b4f660
diff --git a/client/src/app/shared/video/abstract-video-list.html b/client/src/app/shared/video/abstract-video-list.htmlindex d1b761674a..2686779779 100644--- a/client/src/app/shared/video/abstract-video-list.html+++ b/client/src/app/shared/video/abstract-video-list.html@@ -24,7 +24,7 @@><my-video-miniature*ngFor="let video of videos; trackBy: videoById" [video]="video" [user]="user" [ownerDisplayType]="ownerDisplayType"- [displayVideoActions]="displayVideoActions"+ [displayVideoActions]="displayVideoActions" [displayOptions]="displayOptions"(videoBlacklisted)="removeVideoFromArray(video)" (videoRemoved)="removeVideoFromArray(video)"></my-video-miniature>diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.tsindex cf43d429d0..fa9d387358 100644--- a/client/src/app/shared/video/abstract-video-list.ts+++ b/client/src/app/shared/video/abstract-video-list.ts@@ -7,7 +7,7 @@ import { ComponentPagination } from '../rest/component-pagination.model'import { VideoSortField } from './sort-field.type'import { Video } from './video.model'import { ScreenService } from '@app/shared/misc/screen.service'-import { OwnerDisplayType } from '@app/shared/video/video-miniature.component'+import { MiniatureDisplayOptions, OwnerDisplayType } from '@app/shared/video/video-miniature.component'import { Syndication } from '@app/shared/video/syndication.model'import { Notifier, ServerService } from '@app/core'import { DisableForReuseHook } from '@app/core/routing/disable-for-reuse-hook'@@ -34,6 +34,16 @@ export abstract class AbstractVideoList implements OnInit, OnDestroy, DisableFordisabled = false+ displayOptions: MiniatureDisplayOptions = {+ date: true,+ views: true,+ by: true,+ privacyLabel: true,+ privacyText: false,+ state: false,+ blacklistInfo: false+ }+protected abstract notifier: Notifierprotected abstract authService: AuthServiceprotected abstract route: ActivatedRoute