fix: not showing "void fissures" tab in navigation #521

Merged
Sainan merged 3 commits from fissures into main 2024-10-07 08:44:02 -07:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 379bb54f87 - Show all commits

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[];