From 427159dc6132aa34a90af3b59bb307209663c7ab Mon Sep 17 00:00:00 2001 From: Guillaume Chau Date: Tue, 17 Sep 2024 15:20:23 +0200 Subject: [PATCH] fix(snapshot): refresh resource view on edit --- packages/app/components/snapshot/SnapshotResources.vue | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/app/components/snapshot/SnapshotResources.vue b/packages/app/components/snapshot/SnapshotResources.vue index 6e0744a..e4511af 100644 --- a/packages/app/components/snapshot/SnapshotResources.vue +++ b/packages/app/components/snapshot/SnapshotResources.vue @@ -46,6 +46,8 @@ async function removeResources() { }, }) await snapshotStore.refreshSnapshot() + refresh() + refreshCounts() toast.add({ id: 'snapshot-resources-removed', @@ -80,6 +82,8 @@ async function onSelectNewResources(resourceIds: Record) { }, }) await snapshotStore.refreshSnapshot() + refresh() + refreshCounts() toast.add({ id: 'snapshot-resources-added',