Update RestarVMDialog in edit VM page; fix slots-template issue

Signed-off-by: Francesco Torchia <francesco.torchia@suse.com>
This commit is contained in:
Francesco Torchia
2024-10-23 17:01:06 +02:00
parent 6a232be450
commit dad5b5d890
2 changed files with 37 additions and 34 deletions
@@ -413,7 +413,10 @@ export default {
return new Promise((resolve) => {
this.isOpen = true;
this.$refs.restartDialog.resolve = resolve;
this.$nextTick(() => {
this.$refs.restartDialog.resolve = resolve;
});
});
},
@@ -854,6 +857,7 @@ export default {
<RestartVMDialog
v-if="isOpen"
ref="restartDialog"
:vm="value"
/>
</CruResource>