ui: load project list with minimum details (#9711)

This calls listProjects with details=min in the global header menu.

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2024-09-20 17:23:28 +05:30 committed by GitHub
parent 9ce7ef49cf
commit 0a93dcec74
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ export default {
const projects = [] const projects = []
const getNextPage = () => { const getNextPage = () => {
this.loading = true 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) { if (json?.listprojectsresponse?.project) {
projects.push(...json.listprojectsresponse.project) projects.push(...json.listprojectsresponse.project)
} }