@ -88,7 +88,13 @@ const ProfileEditForm: FunctionComponent<Props> = ({
form.values.items,
(v) => {
const suffix =
v.hi === "only" ? ":hi" : v.forced === "True" ? ":forced" : "";
v.hi === "only"
? ":hi"
: v.hi === "never"
? ":normal"
: v.forced === "True"
? ":forced"
: "";
return v.language + suffix;
},
@ -196,8 +196,8 @@ const ItemBadge: FunctionComponent<ItemProps> = ({ cutoff, item }) => {
let result = item.language;
if (item.hi === "only") {
result += ":HI";
} else if (item.hi === "also") {
result += " | " + result + ":HI";
} else if (item.hi === "never") {
result += ":Normal";
} else if (item.forced === "True") {
result += ":Forced";
}