aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/+videos/+video-edit/video-update.component.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/client/src/app/+videos/+video-edit/video-update.component.ts b/client/src/app/+videos/+video-edit/video-update.component.ts
index 629d95c08..e51047e8c 100644
--- a/client/src/app/+videos/+video-edit/video-update.component.ts
+++ b/client/src/app/+videos/+video-edit/video-update.component.ts
@@ -10,7 +10,7 @@ import { LiveVideoService } from '@app/shared/shared-video-live'
10import { LoadingBarService } from '@ngx-loading-bar/core' 10import { LoadingBarService } from '@ngx-loading-bar/core'
11import { logger } from '@root-helpers/logger' 11import { logger } from '@root-helpers/logger'
12import { pick, simpleObjectsDeepEqual } from '@shared/core-utils' 12import { pick, simpleObjectsDeepEqual } from '@shared/core-utils'
13import { LiveVideo, LiveVideoUpdate, VideoPrivacy } from '@shared/models' 13import { LiveVideo, LiveVideoUpdate, VideoPrivacy, VideoState } from '@shared/models'
14import { VideoSource } from '@shared/models/videos/video-source' 14import { VideoSource } from '@shared/models/videos/video-source'
15import { hydrateFormFromVideo } from './shared/video-edit-utils' 15import { hydrateFormFromVideo } from './shared/video-edit-utils'
16 16
@@ -98,11 +98,7 @@ export class VideoUpdateComponent extends FormReactive implements OnInit {
98 } 98 }
99 99
100 isWaitTranscodingHidden () { 100 isWaitTranscodingHidden () {
101 if (this.videoDetails.getFiles().length > 1) { // Already transcoded 101 return this.videoDetails.state.id !== VideoState.TO_TRANSCODE
102 return true
103 }
104
105 return false
106 } 102 }
107 103
108 async update () { 104 async update () {