Skip to content

Commit edee017

Browse files
sureshanapartiLocharla, Sandeep
authored andcommitted
ui build fixes (after merge)
1 parent 058570d commit edee017

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

ui/src/components/view/DomainDeleteConfirm.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
</template>
6060

6161
<script>
62-
import { api } from '@/api'
62+
import { getAPI } from '@/api'
6363
6464
export default {
6565
name: 'DomainDeleteConfirm',
@@ -104,7 +104,7 @@ export default {
104104
async fetchDomainImpact () {
105105
this.loading = true
106106
try {
107-
const accResp = await api('listAccounts', {
107+
const accResp = await getAPI('listAccounts', {
108108
domainid: this.domain.id,
109109
listall: true
110110
})
@@ -115,7 +115,7 @@ export default {
115115
? accResp.listaccountsresponse.account
116116
: []
117117
118-
const vmResp = await api('listVirtualMachines', {
118+
const vmResp = await getAPI('listVirtualMachines', {
119119
domainid: this.domain.id,
120120
listall: true
121121
})

ui/src/views/iam/DomainView.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -334,7 +334,7 @@ export default {
334334
const domain = this.deleteDomainResource
335335
const params = { id: domain.id, cleanup: true }
336336
337-
api('deleteDomain', params).then(json => {
337+
callAPI('deleteDomain', params).then(json => {
338338
const jobId = json.deletedomainresponse.jobid
339339
340340
this.$pollJob({

0 commit comments

Comments
 (0)