mirror of
https://github.com/morpheus65535/bazarr.git
synced 2025-04-23 22:27:17 -04:00
wip
This commit is contained in:
parent
d3301a210f
commit
ee90d3f40f
2 changed files with 9 additions and 3 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue