pull/2475/head
morpheus65535 7 months ago
parent d3301a210f
commit ee90d3f40f

@ -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";
}

Loading…
Cancel
Save