Skip to content

Commit

Permalink
fix(snapshot): refresh resource view on edit
Browse files Browse the repository at this point in the history
  • Loading branch information
Akryum committed Sep 17, 2024
1 parent c37079f commit 427159d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/app/components/snapshot/SnapshotResources.vue
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ async function removeResources() {
},
})
await snapshotStore.refreshSnapshot()
refresh()
refreshCounts()
toast.add({
id: 'snapshot-resources-removed',
Expand Down Expand Up @@ -80,6 +82,8 @@ async function onSelectNewResources(resourceIds: Record<string, string[]>) {
},
})
await snapshotStore.refreshSnapshot()
refresh()
refreshCounts()
toast.add({
id: 'snapshot-resources-added',
Expand Down

0 comments on commit 427159d

Please sign in to comment.