From 4c7ae7bb68ac81b7d1742b0a9fd649e85f137373 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Thu, 19 Jun 2025 14:20:09 +0530 Subject: [PATCH] ui: fix missing changes from #10814 Some changes from PR #10814 are missing in DeployVM and DeployVnf wizards causing warnings in teh browser console. Signed-off-by: Abhishek Kumar --- ui/src/views/compute/DeployVM.vue | 3 +++ ui/src/views/compute/DeployVnfAppliance.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index a28ce737e4cf..710a4445bbde 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -1457,6 +1457,9 @@ export default { isCustomizedIOPS () { return this.rootDiskSelected?.iscustomizediops || this.serviceOffering?.iscustomizediops || false }, + deployMenuOptions () { + return [this.form.startvm ? this.$t('label.launch.vm.and.stay') : this.$t('label.create.vm.and.stay')] + }, isModernImageSelection () { return this.$config.imageSelectionInterface === undefined || this.$config.imageSelectionInterface === 'modern' }, diff --git a/ui/src/views/compute/DeployVnfAppliance.vue b/ui/src/views/compute/DeployVnfAppliance.vue index 1b3cf794f514..4c971788b774 100644 --- a/ui/src/views/compute/DeployVnfAppliance.vue +++ b/ui/src/views/compute/DeployVnfAppliance.vue @@ -1338,6 +1338,9 @@ export default { isCustomizedIOPS () { return this.rootDiskSelected?.iscustomizediops || this.serviceOffering?.iscustomizediops || false }, + deployMenuOptions () { + return [this.$t('label.launch.vnf.appliance.and.stay')] + }, isModernImageSelection () { return this.$config.imageSelectionInterface === undefined || this.$config.imageSelectionInterface === 'modern' },