Skip to content

access_dropdown.vue fails when selecting groups in Protected Environments setting

To reproduce:

  1. Select a group.
  2. Navigate to Settings -> CI/CD.
  3. Click Allowed to deploy.

See this:

image

image

It seems https://gitlab.com/gitlab-org/gitlab/-/blob/5ad85764cafd876c3db5aa6a0f9254b467619dd7/app/assets/javascripts/groups/settings/components/access_dropdown.vue#L89 is hitting an error.

I think this was introduced in !88988 (merged).

/cc: @shinya.maeda, @xanf, @mfluharty

Edited by Stan Hu