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_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 => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user