summaryrefslogtreecommitdiff
path: root/app/models/global_label.rb
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-07-07 13:54:49 +0100
committerNick Thomas <nick@gitlab.com>2017-07-07 14:35:16 +0100
commit6b4da27e97a39448d363d453dce81cce574af9b5 (patch)
treeeabcc3e09241a0f4337ae8e1dd58afef77e58684 /app/models/global_label.rb
parentde2d5ce685877249434ba412b5839910bc703882 (diff)
downloadgitlab-ce-6b4da27e97a39448d363d453dce81cce574af9b5.tar.gz
Fix dashboard labels dropdown
Diffstat (limited to 'app/models/global_label.rb')
-rw-r--r--app/models/global_label.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/global_label.rb b/app/models/global_label.rb
index 698a7bbd327..2a1b7564962 100644
--- a/app/models/global_label.rb
+++ b/app/models/global_label.rb
@@ -2,7 +2,7 @@ class GlobalLabel
attr_accessor :title, :labels
alias_attribute :name, :title
- delegate :color, :description, to: :@first_label
+ delegate :color, :text_color, :description, to: :@first_label
def for_display
@first_label