diff options
author | Robert Speicher <robert@gitlab.com> | 2016-08-19 21:02:55 +0300 |
---|---|---|
committer | Robert Speicher <robert@gitlab.com> | 2016-08-19 21:02:55 +0300 |
commit | 2e34e5f1b75673d853822cfad827f48c48ed1353 (patch) | |
tree | ee55f7a25816c191296193cbf06d42ff3b4fc84f /app/assets | |
parent | daa0cc1cf7805a08dec4c305122998e36c71579e (diff) | |
parent | 32ca5a88c8225e50760205112f6236ae651852d0 (diff) |
Merge branch 'issue-boards-label-text-color' into 'master'
Added text color to issues labels in issue board lists
## What does this MR do?
Adds the text color for labels in the response. The frontend was
already setup to handle this, just needed the data from the backend.
See merge request !5898
Diffstat (limited to 'app/assets')
-rw-r--r-- | app/assets/javascripts/boards/models/label.js.es6 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/assets/javascripts/boards/models/label.js.es6 b/app/assets/javascripts/boards/models/label.js.es6 index e81e91fe972..583829552cd 100644 --- a/app/assets/javascripts/boards/models/label.js.es6 +++ b/app/assets/javascripts/boards/models/label.js.es6 @@ -3,6 +3,7 @@ class ListLabel { this.id = obj.id; this.title = obj.title; this.color = obj.color; + this.textColor = obj.text_color; this.description = obj.description; this.priority = (obj.priority !== null) ? obj.priority : Infinity; } |