hide PL numbers on labels
This commit is contained in:
parent
d0914f9208
commit
91e02aa623
1 changed files with 2 additions and 2 deletions
|
@ -28,8 +28,8 @@ export function levelRoleMap(usersDefault) {
|
|||
export function textualPowerLevel(level, usersDefault) {
|
||||
const LEVEL_ROLE_MAP = levelRoleMap(usersDefault);
|
||||
if (LEVEL_ROLE_MAP[level]) {
|
||||
return LEVEL_ROLE_MAP[level] + (level !== undefined ? ` (${level})` : ` (${usersDefault})`);
|
||||
return LEVEL_ROLE_MAP[level];
|
||||
} else {
|
||||
return level;
|
||||
return _t("Custom %(level)s", {level});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue