extinctionrebellion / RebelsManager

MIT License
62 stars 20 forks source link

Expected value for total count of rebels is incorrect for local groups coordinators #118

Closed mhulet closed 4 years ago

mhulet commented 4 years ago

We show the total count of rebels on rebels#index header.

Screenshot 2019-11-21 at 15 43 45

But the value is not correct for logged-in local group coordinators. It always show the total number of rebels. They want to see the rebels count for their own local group.

The @rebels_count value must be different if !current_user.local_group.nil?.

mhulet commented 4 years ago

Fixed by https://github.com/extinctionrebellion/RebelsManager/commit/fc282e9263b28b65f54860f775506e099b43bf9c