Don't show organisations pending a join request in the navbar
This commit is contained in:
@@ -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']);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user