From a44b0ca91268cf6066808fafe032a1a40b7d8309 Mon Sep 17 00:00:00 2001 From: Andrea Gueugnaut Date: Wed, 22 Jan 2025 19:31:00 +0100 Subject: [PATCH] fix(frontend): invalidate events when updating a housing --- frontend/src/services/housing.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frontend/src/services/housing.service.ts b/frontend/src/services/housing.service.ts index 6ce796b42..f074e2511 100644 --- a/frontend/src/services/housing.service.ts +++ b/frontend/src/services/housing.service.ts @@ -144,7 +144,8 @@ export const housingApi = zlvApi.injectEndpoints({ invalidatesTags: (result, error, payload) => [ { type: 'Housing', id: payload.id }, 'HousingByStatus', - 'HousingCountByStatus' + 'HousingCountByStatus', + 'Event' ] }), updateHousingList: builder.mutation<