mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
fix projects metrics on dashboard (#10651)
This commit is contained in:
parent
ee94ae575b
commit
d5ba39387b
@ -460,9 +460,13 @@ export default {
|
|||||||
},
|
},
|
||||||
listProject () {
|
listProject () {
|
||||||
this.loading = true
|
this.loading = true
|
||||||
api('listProjects', { id: store.getters.project.id }).then(json => {
|
const params = {
|
||||||
|
id: store.getters.project.id,
|
||||||
|
listall: true
|
||||||
|
}
|
||||||
|
api('listProjects', params).then(json => {
|
||||||
this.loading = false
|
this.loading = false
|
||||||
if (json && json.listprojectsresponse && json.listprojectsresponse.project) {
|
if (json?.listprojectsresponse?.project) {
|
||||||
this.project = json.listprojectsresponse.project[0]
|
this.project = json.listprojectsresponse.project[0]
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user