fix extractor drone blueprints not being available in webui add items

This commit is contained in:
Sainan 2025-03-09 15:49:57 +01:00
parent 0ffa9c6bc4
commit 2009e5466d

View File

@ -20,6 +20,7 @@ import {
dict_zh, dict_zh,
ExportArcanes, ExportArcanes,
ExportCustoms, ExportCustoms,
ExportDrones,
ExportGear, ExportGear,
ExportKeys, ExportKeys,
ExportRecipes, ExportRecipes,
@ -87,6 +88,9 @@ export const getItemName = (uniqueName: string): string | undefined => {
if (uniqueName in ExportCustoms) { if (uniqueName in ExportCustoms) {
return ExportCustoms[uniqueName].name; return ExportCustoms[uniqueName].name;
} }
if (uniqueName in ExportDrones) {
return ExportDrones[uniqueName].name;
}
if (uniqueName in ExportKeys) { if (uniqueName in ExportKeys) {
return ExportKeys[uniqueName].name; return ExportKeys[uniqueName].name;
} }