This is an automated email from the ASF dual-hosted git repository.
joao pushed a commit to branch 4.19
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.19 by this push:
new 0a93dcec742 ui: load project list with minimum details (#9711)
0a93dcec742 is described below
commit 0a93dcec74281869c4b2f98f0a2889d3824cfe50
Author: Rohit Yadav <[email protected]>
AuthorDate: Fri Sep 20 17:23:28 2024 +0530
ui: load project list with minimum details (#9711)
This calls listProjects with details=min in the global header menu.
Signed-off-by: Rohit Yadav <[email protected]>
---
ui/src/components/header/ProjectMenu.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ui/src/components/header/ProjectMenu.vue
b/ui/src/components/header/ProjectMenu.vue
index e2f365344d9..6fb0c3af350 100644
--- a/ui/src/components/header/ProjectMenu.vue
+++ b/ui/src/components/header/ProjectMenu.vue
@@ -81,7 +81,7 @@ export default {
const projects = []
const getNextPage = () => {
this.loading = true
- api('listProjects', { listAll: true, page: page, pageSize: 500,
showIcon: true }).then(json => {
+ api('listProjects', { listAll: true, page: page, pageSize: 500,
details: 'min', showIcon: true }).then(json => {
if (json?.listprojectsresponse?.project) {
projects.push(...json.listprojectsresponse.project)
}