Broken "roles" count on "protected branches" page
Summary
I have been asked by Gitlab to create an issue (see https://twitter.com/gitlab/status/926115853262905344)
The "roles" count on the protected branches in projects settings is broken, it indent each time you click "no one".
Steps to reproduce
Go to a Gitlab.com projet, settings -> repository -> protected branches. Choose a branch and for "allowed to push" or "allowed to merge" you'll se that if you choose "no one", the "roles" count will start identing each time you click on "no one"
What is the current bug behavior?
See video: https://www.youtube.com/watch?v=bgJNEG4QeJ4
What is the expected correct behavior?
The role counter should show 0 if "no one" is selected.
Relevant logs and/or screenshots
https://twitter.com/LordApo_/status/926090120763240448 https://twitter.com/gitlab/status/926115853262905344 https://www.youtube.com/watch?v=bgJNEG4QeJ4
Edited by Lucas Decrock