mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-24 06:37:16 -04:00
Improved cutoff options label. #2466
This commit is contained in:
parent
0bdfcd0eda
commit
86b889d3b6
1 changed files with 6 additions and 1 deletions
|
@ -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),
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue