Card watching closes now the popup after confirmation

reviewable/pr4101/r1
Martin Filser 4 years ago
parent f90fb28483
commit c7ab0403a6
  1. 2
      client/components/cards/cardDetails.js

@ -701,7 +701,7 @@ Template.cardDetailsActionsPopup.events({
const currentCard = this;
const level = currentCard.findWatcher(Meteor.userId()) ? null : 'watching';
Meteor.call('watch', 'card', currentCard._id, level, (err, ret) => {
if (!err && ret) Popup.back();
if (!err && ret) Popup.close();
});
},
});

Loading…
Cancel
Save