feat(webui): add resource drones & their blueprints via "add items" #1137

Merged
Sainan merged 3 commits from webui-drones into main 2025-03-09 11:15:46 -07:00
Showing only changes of commit 2009e5466d - Show all commits

View File

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