mirror of
https://github.com/wekan/wekan.git
synced 2025-12-31 06:38:49 +01:00
v4.05
This commit is contained in:
parent
f9018fc3a8
commit
858bb35612
8 changed files with 344 additions and 339 deletions
|
|
@ -70,7 +70,9 @@ Checklists.helpers({
|
|||
this._id = null;
|
||||
this.cardId = newCardId;
|
||||
const newChecklistId = Checklists.insert(this);
|
||||
ChecklistItems.find({ checklistId: oldChecklistId }).forEach(function(item) {
|
||||
ChecklistItems.find({ checklistId: oldChecklistId }).forEach(function(
|
||||
item,
|
||||
) {
|
||||
item._id = null;
|
||||
item.checklistId = newChecklistId;
|
||||
item.cardId = newCardId;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue