返回提交历史
Modified
static/webui/script.js
+4
-1
XFEstudio/XFESpaceNinjaServer
fix(webui): being unable to add Kuva (#292)
Co-authored-by: Sainan <Sainan@users.noreply.github.com>
b1f92c85
代码差异
1 个文件
+4
-1
@@ -102,7 +102,10 @@ window.itemListPromise = new Promise(resolve => {
102
102
items.forEach(item => {
103
103
if (item.uniqueName in data.badItems) {
104
104
item.name += " (Imposter)";
105
} else if (item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/") {
105
} else if (
106
item.uniqueName.substr(0, 18) != "/Lotus/Types/Game/" &&
107
item.uniqueName.substr(0, 18) != "/Lotus/StoreItems/"
108
) {
106
109
const option = document.createElement("option");
107
110
option.setAttribute("data-key", item.uniqueName);
108
111
option.value = item.name;