From 4ec25ae825f8dee44d948b38d8216f9a239ff7b3 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 27 Nov 2020 15:57:38 +0100 Subject: Refactor last PR --- client/src/app/+videos/+video-watch/video-watch.component.ts | 6 ------ 1 file changed, 6 deletions(-) (limited to 'client/src/app/+videos/+video-watch/video-watch.component.ts') diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index bc047489e..66af9709d 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts @@ -219,12 +219,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { return $localize`You need to be logged in to rate this video.` } - getExactNumberOfViews () { - return (this.video.views >= 1000) - ? `${this.video.views} ${this.video.isLive ? $localize`viewers` : $localize`views`}` - : '' - } - showMoreDescription () { if (this.completeVideoDescription === undefined) { return this.loadCompleteDescription() -- cgit v1.2.3