diff --git a/client/components/cards/labels.js b/client/components/cards/labels.js index 1e156f542..cf86fa105 100644 --- a/client/components/cards/labels.js +++ b/client/components/cards/labels.js @@ -41,7 +41,7 @@ Template.createLabelPopup.helpers({ Template.cardLabelsPopup.events({ 'click .js-select-label'(event) { - const card = Cards.findOne(Session.get('currentCard')); + const card = Utils.getCurrentCard(); const labelId = this._id; card.toggleLabel(labelId); event.preventDefault();