Card Details Popup, Labels assign now works

This commit is contained in:
Martin Filser 2021-10-19 23:32:19 +02:00
parent 4994f23134
commit 7a6cfcb498

View file

@ -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();