summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAnderson Shindy Oki <[email protected]>2024-04-25 11:34:42 +0900
committerGitHub <[email protected]>2024-04-24 22:34:42 -0400
commit86b889d3b6a2c36a97f2dbf83a984311b53048ca (patch)
tree33bb770f3e5eff37dc7bc856b609dc741ceb642d
parent0bdfcd0eda004adc40d84f4fe6ada3ea1e41ffb2 (diff)
downloadbazarr-1.4.3-beta.26.tar.gz
bazarr-1.4.3-beta.26.zip
Improved cutoff options label. #2466v1.4.3-beta.26
-rw-r--r--frontend/src/components/forms/ProfileEditForm.tsx7
1 files changed, 6 insertions, 1 deletions
diff --git a/frontend/src/components/forms/ProfileEditForm.tsx b/frontend/src/components/forms/ProfileEditForm.tsx
index 874f5b8a6..eecacd73e 100644
--- a/frontend/src/components/forms/ProfileEditForm.tsx
+++ b/frontend/src/components/forms/ProfileEditForm.tsx
@@ -82,7 +82,12 @@ const ProfileEditForm: FunctionComponent<Props> = ({
const itemCutoffOptions = useSelectorOptions(
form.values.items,
- (v) => v.language,
+ (v) => {
+ const suffix =
+ v.hi === "True" ? ":hi" : v.forced === "True" ? ":forced" : "";
+
+ return v.language + suffix;
+ },
(v) => String(v.id),
);