diff options
author | LASER-Yi <[email protected]> | 2022-06-25 21:07:57 +0800 |
---|---|---|
committer | LASER-Yi <[email protected]> | 2022-06-25 21:07:57 +0800 |
commit | 2b88c9f60cce854d2b2d08696b89b1bc11c0ecd0 (patch) | |
tree | df6374716a3b07f524e1f1c932df2e1f715a5f3a | |
parent | f543368089f5cbb223621015c22ea068ad8c86a0 (diff) | |
download | bazarr-2b88c9f60cce854d2b2d08696b89b1bc11c0ecd0.tar.gz bazarr-2b88c9f60cce854d2b2d08696b89b1bc11c0ecd0.zip |
Fix issues when displaying Use Original Format in the language profile modalv1.0.5-beta.35
-rw-r--r-- | frontend/src/components/forms/ProfileEditForm.tsx | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/frontend/src/components/forms/ProfileEditForm.tsx b/frontend/src/components/forms/ProfileEditForm.tsx index dae71532d..c3078922e 100644 --- a/frontend/src/components/forms/ProfileEditForm.tsx +++ b/frontend/src/components/forms/ProfileEditForm.tsx @@ -2,6 +2,7 @@ import { Action, Selector, SelectorOption, SimpleTable } from "@/components"; import { useModals, withModal } from "@/modules/modals"; import { useTableStyles } from "@/styles"; import { useArrayAction, useSelectorOptions } from "@/utilities"; +import { LOG } from "@/utilities/console"; import { faTrash } from "@fortawesome/free-solid-svg-icons"; import { Accordion, @@ -230,6 +231,7 @@ const ProfileEditForm: FunctionComponent<Props> = ({ return ( <form onSubmit={form.onSubmit((value) => { + LOG("info", "Submitting language profile", value); onComplete?.(value); modals.closeSelf(); })} @@ -297,6 +299,7 @@ const ProfileEditForm: FunctionComponent<Props> = ({ <Stack my="xs"> <Switch label="Use Original Format" + checked={form.values.originalFormat ?? false} {...form.getInputProps("originalFormat")} ></Switch> <Text size="sm"> |