mirror of https://github.com/Chocobozzz/PeerTube
Fix hidden runner jobs tab
If remote runners feature is only enabled on transcriptionpull/6527/head
parent
71857cc04b
commit
44919a8d57
|
@ -234,6 +234,7 @@ export class AdminComponent implements OnInit {
|
|||
|
||||
return config.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: {
|
||||
enabled: boolean
|
||||
|
||||
remoteRunners: {
|
||||
enabled: boolean
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -193,7 +193,10 @@ class ServerConfigManager {
|
|||
}
|
||||
},
|
||||
videoTranscription: {
|
||||
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED
|
||||
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED,
|
||||
remoteRunners: {
|
||||
enabled: CONFIG.VIDEO_TRANSCRIPTION.ENABLED && CONFIG.VIDEO_TRANSCRIPTION.REMOTE_RUNNERS.ENABLED
|
||||
}
|
||||
},
|
||||
import: {
|
||||
videos: {
|
||||
|
|
Loading…
Reference in New Issue