1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-03 09:49:20 +02:00

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

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