diff --git a/ui/src/views/compute/DeployVM.vue b/ui/src/views/compute/DeployVM.vue index cb9f4a6dce76..57dbe8eeabcf 100644 --- a/ui/src/views/compute/DeployVM.vue +++ b/ui/src/views/compute/DeployVM.vue @@ -2312,14 +2312,14 @@ export default { domainid: store.getters.userInfo.domainid, account: store.getters.userInfo.account } - if (OwnerOptions.selectedAccountType === this.$t('label.account')) { + if (OwnerOptions.selectedAccountType === 'Account') { if (!OwnerOptions.selectedAccount) { return } this.owner.account = OwnerOptions.selectedAccount this.owner.domainid = OwnerOptions.selectedDomain this.owner.projectid = null - } else if (OwnerOptions.selectedAccountType === this.$t('label.project')) { + } else if (OwnerOptions.selectedAccountType === 'Project') { if (!OwnerOptions.selectedProject) { return } diff --git a/ui/src/views/compute/wizard/OwnershipSelection.vue b/ui/src/views/compute/wizard/OwnershipSelection.vue index 61c30f340ac4..a2c7ea4c1f8c 100644 --- a/ui/src/views/compute/wizard/OwnershipSelection.vue +++ b/ui/src/views/compute/wizard/OwnershipSelection.vue @@ -31,8 +31,8 @@ } " > - {{ $t('label.account') }} - {{ $t('label.project') }} + {{ $t('label.account') }} + {{ $t('label.project') }} @@ -67,7 +67,7 @@ -