mirror of https://github.com/apache/cloudstack.git
UI: load domain lists only if listDomains API is available (#8660)
This commit is contained in:
parent
17516fd989
commit
f86c62e49a
|
|
@ -497,8 +497,10 @@ export default {
|
|||
this.updateVPCCheckAndFetchNetworkOfferingData()
|
||||
},
|
||||
fetchDomainData () {
|
||||
this.domain.loading = true
|
||||
this.loadMore('listDomains', 1, this.domain)
|
||||
if ('listDomains' in this.$store.getters.apis) {
|
||||
this.domain.loading = true
|
||||
this.loadMore('listDomains', 1, this.domain)
|
||||
}
|
||||
},
|
||||
loadMore (apiToCall, page, sema) {
|
||||
const params = {}
|
||||
|
|
|
|||
Loading…
Reference in New Issue