From d47486969c424e386fd0f7f96b1eeaeacbbd88a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Thu, 16 Nov 2023 15:31:47 +0100 Subject: [PATCH] invalidates cache of tags after feature removal --- .../project/inventory-panel/features/modals/delete/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/layout/project/sidebar/project/inventory-panel/features/modals/delete/index.tsx b/app/layout/project/sidebar/project/inventory-panel/features/modals/delete/index.tsx index 4073ca02f8..7eb51710b4 100644 --- a/app/layout/project/sidebar/project/inventory-panel/features/modals/delete/index.tsx +++ b/app/layout/project/sidebar/project/inventory-panel/features/modals/delete/index.tsx @@ -52,6 +52,7 @@ const DeleteModal = ({ bulkDeleteFeatureFromProject(pid, deletableFeatureIds, session) .then(async () => { await queryClient.invalidateQueries(['all-features', pid]); + await queryClient.invalidateQueries(['project-tags', pid]); onDismiss();