fix: isStoreItem returning false for boosters
All checks were successful
Build / build (push) Successful in 45s
Build / build (pull_request) Successful in 1m32s

e.g. `/Lotus/Types/StoreItems/Boosters/AffinityBoosterStoreItem`
This commit is contained in:
Sainan 2025-04-27 23:19:05 +02:00
parent afec59e8a6
commit fc884f6183

View File

@ -17,6 +17,7 @@ import {
dict_uk, dict_uk,
dict_zh, dict_zh,
ExportArcanes, ExportArcanes,
ExportBoosters,
ExportCustoms, ExportCustoms,
ExportDrones, ExportDrones,
ExportGear, ExportGear,
@ -217,7 +218,7 @@ export const convertInboxMessage = (message: IInboxMessage): IMessage => {
}; };
export const isStoreItem = (type: string): boolean => { 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 => { export const toStoreItem = (type: string): string => {