From abf325b4f66066885715cb9d6ce482717f3199ec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 8 Apr 2019 09:33:37 +0200 Subject: Fix privacy label display --- client/src/app/shared/video/abstract-video-list.html | 2 +- client/src/app/shared/video/abstract-video-list.ts | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'client') diff --git a/client/src/app/shared/video/abstract-video-list.html b/client/src/app/shared/video/abstract-video-list.html index d1b761674..268677977 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 @@ > diff --git a/client/src/app/shared/video/abstract-video-list.ts b/client/src/app/shared/video/abstract-video-list.ts index cf43d429d..fa9d38735 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, DisableFor disabled = false + displayOptions: MiniatureDisplayOptions = { + date: true, + views: true, + by: true, + privacyLabel: true, + privacyText: false, + state: false, + blacklistInfo: false + } + protected abstract notifier: Notifier protected abstract authService: AuthService protected abstract route: ActivatedRoute -- cgit v1.2.3