chore(webui): remove "<ARCHWING> " from item name (#1414)

Reviewed-on: OpenWF/SpaceNinjaServer#1414
Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
This commit is contained in:
AMelonInsideLemon 2025-03-31 13:59:18 -07:00 committed by Sainan
parent e2879a7808
commit 7d5ea680e4

View File

@ -252,6 +252,9 @@ function fetchItemList() {
uniqueLevelCaps = items;
} else {
items.forEach(item => {
if (item.name.includes("<ARCHWING> ")) {
item.name = item.name.replace("<ARCHWING> ", "");
}
if ("badReason" in item) {
if (item.badReason == "starter") {
item.name = loc("code_starter").split("|MOD|").join(item.name);