From d152f9a37208e31732a623a6d1a0bce47433b3e8 Mon Sep 17 00:00:00 2001 From: Sergio Betanzos Date: Thu, 23 Jun 2022 12:28:47 +0200 Subject: [PATCH] M #~: Minor fix to api after deploy a VM (#2179) --- src/fireedge/src/client/features/OneApi/vm.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fireedge/src/client/features/OneApi/vm.js b/src/fireedge/src/client/features/OneApi/vm.js index d98e0c0aa6..c8c6fee671 100644 --- a/src/fireedge/src/client/features/OneApi/vm.js +++ b/src/fireedge/src/client/features/OneApi/vm.js @@ -315,7 +315,7 @@ const vmApi = oneApi.injectEndpoints({ return { params, command } }, - invalidatesTags: [VM_POOL], + invalidatesTags: (_, __, { id }) => [{ type: VM, id }, VM_POOL], }), actionVm: builder.mutation({ /**