Inherit UI selector sets different option for groups and projects

Summary

Propagation is now working having group-level integrations #209831 (closed) but there is a small frontend difference between the inherit UI selector of groups and projects #233938 (closed).

Groups and projects inherit the integration but the UI selector is different when we visit the integration page:

project subgroup
Screen_Shot_2020-10-07_at_12.55.23 Screen_Shot_2020-10-07_at_12.53.01

Steps to reproduce

  • Enable group_level_integrations feature flag: Feature.enable(:group_level_integrations)
  • Create a group, a subgroup, and a project belonging to the group or subgroup.
  • Configure the group integration -> Propagation to the subgroup and project will happen automatically in the background.
  • Visit the subgroup integration page and project integration page to see the differences between both.
Edited by Arturo Herrero