返回提交历史
Modified
static/webui/script.js
+3
-0
XFEstudio/XFESpaceNinjaServer
chore(webui): remove "<ARCHWING> " from item name (#1414)
Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/1414 Co-authored-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com> Co-committed-by: AMelonInsideLemon <166175391+AMelonInsideLemon@users.noreply.github.com>
7d5ea680
代码差异
1 个文件
+3
-0
@@ -252,6 +252,9 @@ function fetchItemList() {
252
252
uniqueLevelCaps = items;
253
253
} else {
254
254
items.forEach(item => {
255
if (item.name.includes("<ARCHWING> ")) {
256
item.name = item.name.replace("<ARCHWING> ", "");
257
}
255
258
if ("badReason" in item) {
256
259
if (item.badReason == "starter") {
257
260
item.name = loc("code_starter").split("|MOD|").join(item.name);