This is an automated email from the ASF dual-hosted git repository.
dahn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/main by this push:
new 0bd35a54031 ui: fix missing changes from #10814 (#11060)
0bd35a54031 is described below
commit 0bd35a54031392b6e6a07affab041dec41f4180a
Author: Abhishek Kumar <[email protected]>
AuthorDate: Mon Jun 23 21:18:46 2025 +0530
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 <[email protected]>
---
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'
},