mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-06-11 15:10:48 +02:00
Merge pull request #2816 from overleaf/jpa-fix-project-list-for-ce
[misc] fix project list for installations w/o affiliations feature GitOrigin-RevId: 2fa2cf7ac5418e04ab876c7fffcd9614fe7af0b3
This commit is contained in:
@@ -411,7 +411,7 @@ const ProjectController = {
|
||||
},
|
||||
userAffiliations(cb) {
|
||||
if (!Features.hasFeature('affiliations')) {
|
||||
return cb(null, null)
|
||||
return cb(null, [])
|
||||
}
|
||||
getUserAffiliations(userId, (error, affiliations) => {
|
||||
if (error && error instanceof V1ConnectionError) {
|
||||
|
||||
Reference in New Issue
Block a user