diff --git a/apps/web/src/app/core/api/game-api.models.ts b/apps/web/src/app/core/api/game-api.models.ts index d7d1a6e..f05f567 100644 --- a/apps/web/src/app/core/api/game-api.models.ts +++ b/apps/web/src/app/core/api/game-api.models.ts @@ -446,13 +446,8 @@ export interface ShopOfferView { currencyType: string; price: number; quantity: number; - /** - * Optional so fixtures written before slice 0.8.5 (e.g. the trade-in store's - * own spec, out of this task's scope) keep compiling untouched. The server - * always sends both fields; the template treats a missing one as "none". - */ - effectSummary?: string | null; - requirements?: ShopOfferRequirement[]; + effectSummary: string | null; + requirements: ShopOfferRequirement[]; unlocked: boolean; affordable: boolean; } diff --git a/apps/web/src/app/features/npc/merchant-page.component.html b/apps/web/src/app/features/npc/merchant-page.component.html index 6da1ea0..9850ecd 100644 --- a/apps/web/src/app/features/npc/merchant-page.component.html +++ b/apps/web/src/app/features/npc/merchant-page.component.html @@ -228,7 +228,7 @@ }} } @for ( - requirement of offer.requirements ?? []; + requirement of offer.requirements; track requirement.label ) {