diff options
Diffstat (limited to 'client/src/app/videos/+video-watch')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 10 |
1 files changed, 1 insertions, 9 deletions
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 3c6951403..87db023bf 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -11,12 +11,12 @@ import '../../../assets/player/peertube-videojs-plugin' | |||
11 | import { AuthService, ConfirmService } from '../../core' | 11 | import { AuthService, ConfirmService } from '../../core' |
12 | import { VideoBlacklistService } from '../../shared' | 12 | import { VideoBlacklistService } from '../../shared' |
13 | import { Account } from '../../shared/account/account.model' | 13 | import { Account } from '../../shared/account/account.model' |
14 | import { VideoDetails } from '../../shared/video/video-details.model' | ||
14 | import { Video } from '../../shared/video/video.model' | 15 | import { Video } from '../../shared/video/video.model' |
15 | import { MarkdownService } from '../shared' | 16 | import { MarkdownService } from '../shared' |
16 | import { VideoDownloadComponent } from './video-download.component' | 17 | import { VideoDownloadComponent } from './video-download.component' |
17 | import { VideoReportComponent } from './video-report.component' | 18 | import { VideoReportComponent } from './video-report.component' |
18 | import { VideoShareComponent } from './video-share.component' | 19 | import { VideoShareComponent } from './video-share.component' |
19 | import { VideoDetails } from '../../shared/video/video-details.model' | ||
20 | 20 | ||
21 | @Component({ | 21 | @Component({ |
22 | selector: 'my-video-watch', | 22 | selector: 'my-video-watch', |
@@ -199,14 +199,6 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
199 | return this.authService.isLoggedIn() | 199 | return this.authService.isLoggedIn() |
200 | } | 200 | } |
201 | 201 | ||
202 | canUserUpdateVideo () { | ||
203 | return this.video.isUpdatableBy(this.authService.getUser()) | ||
204 | } | ||
205 | |||
206 | isVideoRemovable () { | ||
207 | return this.video.isRemovableBy(this.authService.getUser()) | ||
208 | } | ||
209 | |||
210 | isVideoBlacklistable () { | 202 | isVideoBlacklistable () { |
211 | return this.video.isBlackistableBy(this.authService.getUser()) | 203 | return this.video.isBlackistableBy(this.authService.getUser()) |
212 | } | 204 | } |