fix: handle boosters in store item utilities #1894

Merged
Sainan merged 2 commits from storeitem-fix into main 2025-04-28 14:00:07 -07:00
Showing only changes of commit fc884f6183 - Show all commits

View File

@ -17,6 +17,7 @@ import {
dict_uk,
dict_zh,
ExportArcanes,
ExportBoosters,
ExportCustoms,
ExportDrones,
ExportGear,
@ -217,7 +218,7 @@ export const convertInboxMessage = (message: IInboxMessage): IMessage => {
};
export const isStoreItem = (type: string): boolean => {
return type.startsWith("/Lotus/StoreItems/");
return type.startsWith("/Lotus/StoreItems/") || type in ExportBoosters;
};
export const toStoreItem = (type: string): string => {