diff --git a/project/src/services/RagfairRequiredItemsService.ts b/project/src/services/RagfairRequiredItemsService.ts index 94f51b78..d73c3c53 100644 --- a/project/src/services/RagfairRequiredItemsService.ts +++ b/project/src/services/RagfairRequiredItemsService.ts @@ -19,7 +19,7 @@ export class RagfairRequiredItemsService public getRequiredItemsById(searchId: string): IRagfairOffer[] { - return Array.from(this.requiredItemsCache[searchId]) || []; + return Array.from(this.requiredItemsCache[searchId] ?? {}) || []; } public buildRequiredItemTable(): void