Fix project team members count
In Rails 5 `project.team.members` returns a CollectionProxy instead of array, which causes that `.flatten` fails. Although we could update the call to get distinct count directly with sql query, in this case it's better to re-use the list of members which is being loaded anyway.
Showing
Please register or sign in to comment