Browse Source

Fix/web settings prop syntax (#1706)

Kurt Garloff 1 year ago
parent
commit
df88c7c
1 changed files with 7 additions and 7 deletions
  1. 7 7
      web/rootfs/defaults/settings-config.js

+ 7 - 7
web/rootfs/defaults/settings-config.js

@@ -302,7 +302,7 @@ config.prejoinConfig.hideExtraJoinButtons = [ '{{ join "','" (splitList "," .Env
 
 
 // Welcome page.
 // Welcome page.
 config.welcomePage = {
 config.welcomePage = {
-    disabled = {{ not $ENABLE_WELCOME_PAGE }};
+    disabled: {{ not $ENABLE_WELCOME_PAGE }}
 };
 };
 
 
 // Close page.
 // Close page.
@@ -345,12 +345,12 @@ config.enableTcc = false;
 // Transcriptions (subtitles and buttons can be configured in interface_config)
 // Transcriptions (subtitles and buttons can be configured in interface_config)
 config.transcription = {
 config.transcription = {
     enabled: {{ $ENABLE_TRANSCRIPTIONS }},
     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
 // Dynamic branding