Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-31 01:35:19 +0300
committerJames Edwards-Jones <jedwardsjones@gitlab.com>2017-03-31 21:37:16 +0300
commit18b445ade4280c03e73ccbf2ca4d175e97a887c8 (patch)
treecc0b8d257069f958aaf7090ce0b16ef8d1f91383 /app/assets/javascripts/protected_tags
parentf51eac1df967856299467f65ac6fb81e2d610ff5 (diff)
Protected tags can be added/listed via UI
Diffstat (limited to 'app/assets/javascripts/protected_tags')
-rw-r--r--app/assets/javascripts/protected_tags/protected_tag_dropdown.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/protected_tags/protected_tag_dropdown.js b/app/assets/javascripts/protected_tags/protected_tag_dropdown.js
index 5a0356f502c..ccc4c81fa18 100644
--- a/app/assets/javascripts/protected_tags/protected_tag_dropdown.js
+++ b/app/assets/javascripts/protected_tags/protected_tag_dropdown.js
@@ -53,9 +53,9 @@ class ProtectedTagDropdown {
getProtectedTags(term, callback) {
if (this.selectedTag) {
- callback(gon.open_branches.concat(this.selectedTag));
+ callback(gon.open_tags.concat(this.selectedTag));
} else {
- callback(gon.open_branches);
+ callback(gon.open_tags);
}
}