Returned object stores both visibility flag AND users in its properties. On ProfilesPage we iterate through all its properties to show list of profiles assuming that only users are stored in the properties, so MiniProfile component gets the visibility flag instead of user object.
Returned object stores both visibility flag AND users in its properties. On ProfilesPage we iterate through all its properties to show list of profiles assuming that only users are stored in the properties, so MiniProfile component gets the visibility flag instead of user object.