fix: isStoreItem returning false for boosters
e.g. `/Lotus/Types/StoreItems/Boosters/AffinityBoosterStoreItem`
This commit is contained in:
parent
afec59e8a6
commit
fc884f6183
@ -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 => {
|
||||
|
Loading…
x
Reference in New Issue
Block a user