Fix/web settings prop syntax (#1706)

pull/1708/head
Kurt Garloff 10 months ago committed by GitHub
parent d64ae1c193
commit df88c7c1e3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 14
      web/rootfs/defaults/settings-config.js

@ -302,7 +302,7 @@ config.prejoinConfig.hideExtraJoinButtons = [ '{{ join "','" (splitList "," .Env
// Welcome page.
config.welcomePage = {
disabled = {{ not $ENABLE_WELCOME_PAGE }};
disabled: {{ not $ENABLE_WELCOME_PAGE }}
};
// Close page.
@ -345,12 +345,12 @@ config.enableTcc = false;
// Transcriptions (subtitles and buttons can be configured in interface_config)
config.transcription = {
enabled: {{ $ENABLE_TRANSCRIPTIONS }},
translationLanguages = {{ $TRANSLATION_LANGUAGES }},
translationLanguagesHead = {{ $TRANSLATION_LANGUAGES_HEAD }},
useAppLanguage = {{ $USE_APP_LANGUAGE }},
preferredLanguage = '{{ $PREFERRED_LANGUAGE }}',
disableStartForAll = {{ $DISABLE_START_FOR_ALL }},
autoCaptionOnRecord = {{ $AUTO_CAPTION_ON_RECORD }},
translationLanguages: {{ $TRANSLATION_LANGUAGES }},
translationLanguagesHead: {{ $TRANSLATION_LANGUAGES_HEAD }},
useAppLanguage: {{ $USE_APP_LANGUAGE }},
preferredLanguage: '{{ $PREFERRED_LANGUAGE }}',
disableStartForAll: {{ $DISABLE_START_FOR_ALL }},
autoCaptionOnRecord: {{ $AUTO_CAPTION_ON_RECORD }},
};
// Dynamic branding

Loading…
Cancel
Save