Copy many card dialog remembers now the last selected board

This commit is contained in:
Martin Filser 2022-07-03 15:22:41 +02:00
parent a06d1806df
commit 03deeb6729
3 changed files with 32 additions and 173 deletions

View file

@ -609,6 +609,8 @@ Cards.helpers({
CardComments.find({ cardId: oldId }).forEach(cmt => {
cmt.copy(_id);
});
// restore the id, otherwise new copies will fail
this._id = oldId;
return _id;
},