mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
UI: Fix issue while listing projects in the Project Menu - DashBoard (#6006)
This commit is contained in:
parent
9eefc76fc5
commit
72a77d553d
@ -79,7 +79,7 @@ export default {
|
||||
const getNextPage = () => {
|
||||
this.loading = true
|
||||
api('listProjects', { listAll: true, details: 'min', page: page, pageSize: 500, showIcon: true }).then(json => {
|
||||
if (json?.listprojectsresponse?.listprojectsresponse.project) {
|
||||
if (json?.listprojectsresponse?.project) {
|
||||
projects.push(...json.listprojectsresponse.project)
|
||||
}
|
||||
if (projects.length < json.listprojectsresponse.count) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user