diff options
author | Chocobozzz <me@florianbigard.com> | 2018-08-03 09:43:00 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-08-06 11:19:16 +0200 |
commit | 516df59b3bbb0218afeda595ee4966800bff4519 (patch) | |
tree | 4687691eeb0bf9c2846b673253c54628409345d1 /client/src/app/videos/+video-watch/video-watch.component.ts | |
parent | d7f83948a1af0ef3bed61f83e87e826902c96f7d (diff) | |
download | PeerTube-516df59b3bbb0218afeda595ee4966800bff4519.tar.gz PeerTube-516df59b3bbb0218afeda595ee4966800bff4519.tar.zst PeerTube-516df59b3bbb0218afeda595ee4966800bff4519.zip |
Remove ability to delete video imports
Users should remove the linked video instead
Diffstat (limited to 'client/src/app/videos/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/videos/+video-watch/video-watch.component.ts | 4 |
1 files changed, 4 insertions, 0 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 995fb8e2b..04bcc6cd1 100644 --- a/client/src/app/videos/+video-watch/video-watch.component.ts +++ b/client/src/app/videos/+video-watch/video-watch.component.ts | |||
@@ -289,6 +289,10 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
289 | return this.video && this.video.state.id === VideoState.TO_TRANSCODE | 289 | return this.video && this.video.state.id === VideoState.TO_TRANSCODE |
290 | } | 290 | } |
291 | 291 | ||
292 | isVideoToImport () { | ||
293 | return this.video && this.video.state.id === VideoState.TO_IMPORT | ||
294 | } | ||
295 | |||
292 | hasVideoScheduledPublication () { | 296 | hasVideoScheduledPublication () { |
293 | return this.video && this.video.scheduledUpdate !== undefined | 297 | return this.video && this.video.scheduledUpdate !== undefined |
294 | } | 298 | } |