Skip to content

Commit

Permalink
fix: Should not show save/load after install
Browse files Browse the repository at this point in the history
  • Loading branch information
ci010 committed Feb 26, 2024
1 parent 0cbbb3f commit 8a7a6c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions xmcl-keystone-ui/src/composables/instanceEdit.ts
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,8 @@ export function useInstanceEdit(instance: Ref<Instance>, edit: (instance: EditIn
return false
})

watch(computed(() => instance.value.version), () => load())

async function save() {
const payload = {
name: data.name,
Expand Down

0 comments on commit 8a7a6c2

Please sign in to comment.