mirror of
https://github.com/wekan/wekan.git
synced 2025-12-30 06:08:48 +01:00
Card watching closes now the popup after confirmation
This commit is contained in:
parent
f90fb28483
commit
c7ab0403a6
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue