Fix hidden runner jobs tab

If remote runners feature is only enabled on transcription
This commit is contained in:
Chocobozzz 2024-07-31 08:56:33 +02:00
parent 71857cc04b
commit 44919a8d57
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
3 changed files with 10 additions and 2 deletions

View File

@ -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
} }
} }

View File

@ -349,6 +349,10 @@ export interface ServerConfig {
videoTranscription: { videoTranscription: {
enabled: boolean enabled: boolean
remoteRunners: {
enabled: boolean
}
} }
} }

View File

@ -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: {