Don't show organisations pending a join request in the navbar

This commit is contained in:
bwilliams committed 2022-02-15 17:01:41 +00:00
1 parent 77da13e0a0
commit e63b03fb2b
2 files changed
+3 -1

No files matched your search

+1 -1
View File
@@ -41,7 +41,7 @@ class User extends UFUser
$classMapper->getClassMapping('organisation'), 'organisation_members', 'user_id', 'organisation_id'
)
->orderBy('organisations.name', 'asc')
->withPivot('flag_admin');
->withPivot(['flag_admin', 'flag_approved']);
}
/**