Commit 9d4b288d authored by James Edwards-Jones's avatar James Edwards-Jones

Fix protected tags specs: export models & javascript typo

parent 1c013ff6
......@@ -11,7 +11,7 @@ export default class ProtectedTagEdit {
this.$wrap = options.$wrap;
this.$allowedToCreateDropdownButton = this.$wrap.find('.js-allowed-to-create');
this.$wraps[ACCESS_LEVELS.CREATE] = this.$allowedToCreateDropdown.closest(`.${ACCESS_LEVELS.CREATE}-container`);
this.$wrap[ACCESS_LEVELS.CREATE] = this.$allowedToCreateDropdownButton.closest(`.${ACCESS_LEVELS.CREATE}-container`);
this.buildDropdowns();
}
......
......@@ -128,7 +128,9 @@ push_access_levels:
- protected_branch
- group
create_access_levels:
- user
- protected_tag
- group
container_repositories:
- project
- name
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment