]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+videos/+video-watch/video-watch.component.ts
Refactor last PR
[github/Chocobozzz/PeerTube.git] / client / src / app / +videos / +video-watch / video-watch.component.ts
index bc047489e7c78fc24dd4765f798cf7801cc62979..66af9709dfcc8cfa5ceac2a2e606d77c5722c71d 100644 (file)
@@ -219,12 +219,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy {
     return $localize`You need to be <a href="/login">logged in</a> 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()