From 72a77d553dd084b881277f52aaa774c3d0a5e4bc Mon Sep 17 00:00:00 2001 From: Pearl Dsilva Date: Fri, 18 Feb 2022 18:58:29 +0530 Subject: [PATCH] UI: Fix issue while listing projects in the Project Menu - DashBoard (#6006) --- 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 959d8f3bcca..f2565ab60f2 100644 --- a/ui/src/components/header/ProjectMenu.vue +++ b/ui/src/components/header/ProjectMenu.vue @@ -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) {