Incorrect number of roles in Protected branches - selecting "No one" results in "Allowed to merge: 1 role", should be "0 roles"

Summary

When "developers" and "masters" are selected, it reads "2 roles". When "masters" is selected, it reads "1 role". When "no one" is selected, it still reads "1 role".

image

Steps to reproduce

See the screenshot.

Example Project

https://gitlab.com/Nowaker/gitlab-bug-1/settings/repository

Assignee Loading
Time tracking Loading