From 9af79bd80d06d2d4da357040b4ef43a84634745f Mon Sep 17 00:00:00 2001 From: Weiyi Feng Date: Sun, 5 Jun 2022 23:12:07 +0800 Subject: [PATCH] config_tools: fix delete vm failed issue fix delete vm failed issue Tracked-On: #6691 Signed-off-by: Weiyi Feng --- .../configurator/packages/configurator/src/pages/Config.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue index 7416b019f..ba56dca49 100644 --- a/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue +++ b/misc/config_tools/configurator/packages/configurator/src/pages/Config.vue @@ -257,7 +257,7 @@ export default { msg = "Post-launched VMs require the Service VM. If you proceed, all post-launched VMs and their settings will also be deleted. Are you sure you want to proceed?" isserivevm = true } else { - let vmName = this.scenario.vm[this.activeVMID].name + let vmName = vmConfigcurrent.name msg = `Delete this virtual machine? ${vmName}\n\nThe associated launch script will also be deleted if it exists.` } confirm(msg).then((r) => {