mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2024-11-23 09:16:36 -06:00
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 ||
|
||||
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
Block a user