diff --git a/src/features/need/need.controller.ts b/src/features/need/need.controller.ts index 11ab13479..a22ee87c0 100644 --- a/src/features/need/need.controller.ts +++ b/src/features/need/need.controller.ts @@ -297,6 +297,8 @@ export class NeedController { if ( !fetchedNeed || fetchedNeed.status !== need.status || + fetchedNeed.category !== need.category || + fetchedNeed.type !== need.type || fetchedNeed.nameTranslations.en !== need.name_translations.en ) { const { need: nestNeed } = await this.syncService.syncNeed( @@ -448,11 +450,11 @@ export class NeedController { childId: n.child_id, status: n.status, category: n.category, + type: n.type, isConfirmed: n.confirmDate && true, }; }), }); - 1; } config().dataCache.storeToBeConfirmed(myList, new Date()); diff --git a/src/features/need/need.service.ts b/src/features/need/need.service.ts index 3056e320e..cc55c1d4e 100644 --- a/src/features/need/need.service.ts +++ b/src/features/need/need.service.ts @@ -1033,6 +1033,7 @@ export class NeedService { 'need.id', 'need.title', 'need.status', + 'need.type', 'need.child_id', 'need.name_translations', 'need.description_translations',