diff options
-rw-r--r-- | client/src/app/+videos/+video-edit/video-update.component.ts | 8 |
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' | |||
10 | import { LoadingBarService } from '@ngx-loading-bar/core' | 10 | import { LoadingBarService } from '@ngx-loading-bar/core' |
11 | import { logger } from '@root-helpers/logger' | 11 | import { logger } from '@root-helpers/logger' |
12 | import { pick, simpleObjectsDeepEqual } from '@shared/core-utils' | 12 | import { pick, simpleObjectsDeepEqual } from '@shared/core-utils' |
13 | import { LiveVideo, LiveVideoUpdate, VideoPrivacy } from '@shared/models' | 13 | import { LiveVideo, LiveVideoUpdate, VideoPrivacy, VideoState } from '@shared/models' |
14 | import { VideoSource } from '@shared/models/videos/video-source' | 14 | import { VideoSource } from '@shared/models/videos/video-source' |
15 | import { hydrateFormFromVideo } from './shared/video-edit-utils' | 15 | import { 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 () { |