From 0bd35a54031392b6e6a07affab041dec41f4180a Mon Sep 17 00:00:00 2001 From: Abhishek Kumar Date: Mon, 23 Jun 2025 21:18:46 +0530 Subject: [PATCH] ui: fix missing changes from #10814 (#11060) 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 a28ce737e4c..710a4445bbd 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 1b3cf794f51..4c971788b77 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' },