mirror of https://github.com/morpheus65535/bazarr
Improve cutoff options label
This commit is contained in:
parent
0bdfcd0eda
commit
e473d3554e
|
@ -82,7 +82,11 @@ const ProfileEditForm: FunctionComponent<Props> = ({
|
||||||
|
|
||||||
const itemCutoffOptions = useSelectorOptions(
|
const itemCutoffOptions = useSelectorOptions(
|
||||||
form.values.items,
|
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),
|
(v) => String(v.id),
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue