diff --git a/client/components/cards/cardDetails.js b/client/components/cards/cardDetails.js index b596b2e0e..6409fe2a4 100644 --- a/client/components/cards/cardDetails.js +++ b/client/components/cards/cardDetails.js @@ -801,9 +801,7 @@ Template.editCardAssignerForm.events({ Template.moveCardPopup.events({ 'click .js-done'() { - // XXX We should *not* get the currentCard from the global state, but - // instead from a “component” state. - const card = Utils.getCurrentCard(); + const card = Cards.findOne(this._id); const bSelect = $('.js-select-boards')[0]; let boardId; // if we are a worker, we won't have a board select so we just use the