Fix checkbox labels (#1947)

* fix create galleries from folders checkbox id
* add missing checkbox ids
This commit is contained in:
7dJx1qP
2021-11-03 17:21:34 -04:00
committed by GitHub
parent ed9d80fcfc
commit a8a5d547ed
3 changed files with 5 additions and 2 deletions

View File

@@ -569,7 +569,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
<Form.Group>
<Form.Check
id="log-terminal"
id="create-galleries-from-folders"
checked={createGalleriesFromFolders}
label={intl.formatMessage({
id: "config.general.create_galleries_from_folders_label",
@@ -592,6 +592,7 @@ export const SettingsConfigurationPanel: React.FC = () => {
<h4>{intl.formatMessage({ id: "config.general.hashing" })}</h4>
<Form.Group>
<Form.Check
id="calculate-md5-and-ohash"
checked={calculateMD5}
label={intl.formatMessage({
id: "config.general.calculate_md5_and_ohash_label",

View File

@@ -465,6 +465,7 @@ export const SettingsDLNAPanel: React.FC = () => {
</Form.Group>
<Form.Group>
<Form.Check
id="dlna-enabled-by-default"
checked={values.enabled}
label={intl.formatMessage({
id: "config.dlna.enabled_by_default",

View File

@@ -274,8 +274,9 @@ export const SettingsInterfacePanel: React.FC = () => {
<Form.Group>
<h5>{intl.formatMessage({ id: "config.ui.scene_player.heading" })}</h5>
<Form.Group id="auto-start-video">
<Form.Group>
<Form.Check
id="auto-start-video"
checked={autostartVideo}
label={intl.formatMessage({
id: "config.ui.scene_player.options.auto_start_video",