Skip to content

Commit 0bd35a5

Browse files
authored
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]>
1 parent 5b7c3b4 commit 0bd35a5

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

ui/src/views/compute/DeployVM.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,9 @@ export default {
14571457
isCustomizedIOPS () {
14581458
return this.rootDiskSelected?.iscustomizediops || this.serviceOffering?.iscustomizediops || false
14591459
},
1460+
deployMenuOptions () {
1461+
return [this.form.startvm ? this.$t('label.launch.vm.and.stay') : this.$t('label.create.vm.and.stay')]
1462+
},
14601463
isModernImageSelection () {
14611464
return this.$config.imageSelectionInterface === undefined || this.$config.imageSelectionInterface === 'modern'
14621465
},

ui/src/views/compute/DeployVnfAppliance.vue

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1338,6 +1338,9 @@ export default {
13381338
isCustomizedIOPS () {
13391339
return this.rootDiskSelected?.iscustomizediops || this.serviceOffering?.iscustomizediops || false
13401340
},
1341+
deployMenuOptions () {
1342+
return [this.$t('label.launch.vnf.appliance.and.stay')]
1343+
},
13411344
isModernImageSelection () {
13421345
return this.$config.imageSelectionInterface === undefined || this.$config.imageSelectionInterface === 'modern'
13431346
},

0 commit comments

Comments
 (0)