Fix hidden runner jobs tab
If remote runners feature is only enabled on transcription
This commit is contained in:
parent
71857cc04b
commit
44919a8d57
|
@ -234,6 +234,7 @@ export class AdminComponent implements OnInit {
|
||||||
|
|
||||||
return config.transcoding.remoteRunners.enabled ||
|
return config.transcoding.remoteRunners.enabled ||
|
||||||
config.live.transcoding.remoteRunners.enabled ||
|
config.live.transcoding.remoteRunners.enabled ||
|
||||||
config.videoStudio.remoteRunners.enabled
|
config.videoStudio.remoteRunners.enabled ||
|
||||||
|
config.videoTranscription.remoteRunners.enabled
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -349,6 +349,10 @@ export interface ServerConfig {
|
||||||
|
|
||||||
videoTranscription: {
|
videoTranscription: {
|
||||||
enabled: boolean
|
enabled: boolean
|
||||||
|
|
||||||
|
remoteRunners: {
|
||||||
|
enabled: boolean
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -193,7 +193,10 @@ class ServerConfigManager {
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
videoTranscription: {
|
videoTranscription: {
|
||||||
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED
|
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED,
|
||||||
|
remoteRunners: {
|
||||||
|
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED && CONFIG.VIDEO_TRANSCRIPTION.REMOTE_RUNNERS.ENABLED
|
||||||
|
}
|
||||||
},
|
},
|
||||||
import: {
|
import: {
|
||||||
videos: {
|
videos: {
|
||||||
|
|
Loading…
Reference in New Issue