Fixed label popup at desktop view (add and remove labels)

Fixes: #4156
This commit is contained in:
Martin Filser 2021-11-17 15:31:06 +01:00 committed by Emile NDAGIJIMANA
parent 6944a20ba4
commit 38eccdb95b
2 changed files with 3 additions and 1 deletions

View file

@ -78,7 +78,7 @@ BlazeComponent.extendComponent({
return [
{
'click .js-select-label'(event) {
const card = Utils.getCurrentCard();
const card = this.data();
const labelId = this.currentData()._id;
card.toggleLabel(labelId);
event.preventDefault();