返回提交历史
Modified
src/controllers/custom/getItemListsController.ts
+3
-0
XFEstudio/XFESpaceNinjaServer
fix(webui): don't add helminth resources to add items datalist (#3784)
Closes #3782 Reviewed-on: https://onlyg.it/OpenWF/SpaceNinjaServer/pulls/3784 Co-authored-by: Sainan <63328889+Sainan@users.noreply.github.com> Co-committed-by: Sainan <63328889+Sainan@users.noreply.github.com>
6fdc2ca5
代码差异
1 个文件
+3
-0
@@ -235,6 +235,9 @@ const getItemListsController: RequestHandler = (req, response) => {
235
235
}
236
236
}
237
237
for (const [uniqueName, item] of Object.entries(ExportResources)) {
238
if (item.productCategory == "SupplyDrop") {
239
continue; // skip helminth resources
240
}
238
241
let name = getNormalizedString(item.name, lang);
239
242
if ("dissectionParts" in item) {
240
243
name = getString("/Lotus/Language/Fish/FishDisplayName", lang).split("|FISH_NAME|").join(name);