summaryrefslogtreecommitdiffstats
path: root/client/components/cards/helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'client/components/cards/helpers.js')
-rw-r--r--client/components/cards/helpers.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/components/cards/helpers.js b/client/components/cards/helpers.js
index 708b1b56..ce85002d 100644
--- a/client/components/cards/helpers.js
+++ b/client/components/cards/helpers.js
@@ -28,7 +28,7 @@ Template.createLabelPopup.helpers({
var labels = this.labels || this.card.board().labels;
var usedColors = _.pluck(labels, 'color');
var availableColors = _.difference(labelColors, usedColors);
- return availableColors.length > 1 ? availableColors[0] : 'green';
+ return availableColors.length > 1 ? availableColors[0] : labelColors[0];
}
});