summaryrefslogtreecommitdiff
path: root/app/assets/javascripts/boards
diff options
context:
space:
mode:
authorrubenmoya <rmoyarodriguez@gmail.com>2018-12-26 20:49:11 +0100
committerrubenmoya <rmoyarodriguez@gmail.com>2018-12-26 20:49:11 +0100
commitb9da281cb1cf122b044af81f0120ace826fb2505 (patch)
tree8c6ee455dd566d5da4c659659a86f7f760d900de /app/assets/javascripts/boards
parent68e312b20d7fa16ec924be7a7d10fc67ee0c4292 (diff)
downloadgitlab-ce-b9da281cb1cf122b044af81f0120ace826fb2505.tar.gz
Add assignableLabelsEndpoint to issue after createing it
Diffstat (limited to 'app/assets/javascripts/boards')
-rw-r--r--app/assets/javascripts/boards/models/list.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/models/list.js b/app/assets/javascripts/boards/models/list.js
index dd3feedbc0e..9f6d9a853da 100644
--- a/app/assets/javascripts/boards/models/list.js
+++ b/app/assets/javascripts/boards/models/list.js
@@ -244,6 +244,7 @@ class List {
issue.project = data.project;
issue.path = data.real_path;
issue.referencePath = data.reference_path;
+ issue.assignableLabelsEndpoint = data.assignable_labels_endpoint;
if (this.issuesSize > 1) {
const moveBeforeId = this.issues[1].id;