fix: not showing "void fissures" tab in navigation

This commit is contained in:
Sainan 2024-10-07 01:07:36 +02:00
parent b7f381ba1d
commit 379bb54f87
2 changed files with 4 additions and 0 deletions

View File

@ -150,6 +150,9 @@ const inventoryController: RequestHandler = async (request, response) => {
// Fix for #380
inventoryResponse.NextRefill = { $date: { $numberLong: "9999999999999" } };
// This determines if the "void fissures" tab is shown in navigation.
inventoryResponse.HasOwnedVoidProjectionsPreviously = true;
response.json(inventoryResponse);
};

View File

@ -145,6 +145,7 @@ export interface IInventoryResponse {
GiftsRemaining: number;
HandlerPoints: number;
MiscItems: IMiscItem[];
HasOwnedVoidProjectionsPreviously?: boolean;
ChallengesFixVersion: number;
ChallengeProgress: IChallengeProgress[];
RawUpgrades: IRawUpgrade[];