Improved cutoff options label. #2466

pull/2476/head v1.4.3-beta.26
Anderson Shindy Oki 2 weeks ago committed by GitHub
parent 0bdfcd0eda
commit 86b889d3b6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -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…
Cancel
Save