mirror of
https://github.com/wekan/wekan.git
synced 2026-02-11 10:44:20 +01:00
Fix lint errors
This commit is contained in:
parent
09bc8ac44c
commit
de13705289
1 changed files with 3 additions and 3 deletions
|
|
@ -347,7 +347,7 @@ Template.copyCardPopup.events({
|
||||||
checklist.cardId = _id;
|
checklist.cardId = _id;
|
||||||
checklist._id = null;
|
checklist._id = null;
|
||||||
const newChecklistId = Checklists.insert(checklist);
|
const newChecklistId = Checklists.insert(checklist);
|
||||||
ChecklistItems.find({checklistId: checklistId}).forEach(function(item) {
|
ChecklistItems.find({checklistId}).forEach(function(item) {
|
||||||
item._id = null;
|
item._id = null;
|
||||||
item.checklistId = newChecklistId;
|
item.checklistId = newChecklistId;
|
||||||
item.cardId = _id;
|
item.cardId = _id;
|
||||||
|
|
@ -370,7 +370,7 @@ Template.copyCardPopup.events({
|
||||||
});
|
});
|
||||||
|
|
||||||
Template.copyChecklistToManyCardsPopup.events({
|
Template.copyChecklistToManyCardsPopup.events({
|
||||||
'click .js-done' (evt) {
|
'click .js-done' () {
|
||||||
const card = Cards.findOne(Session.get('currentCard'));
|
const card = Cards.findOne(Session.get('currentCard'));
|
||||||
const oldId = card._id;
|
const oldId = card._id;
|
||||||
card._id = null;
|
card._id = null;
|
||||||
|
|
@ -408,7 +408,7 @@ Template.copyChecklistToManyCardsPopup.events({
|
||||||
checklist.cardId = _id;
|
checklist.cardId = _id;
|
||||||
checklist._id = null;
|
checklist._id = null;
|
||||||
const newChecklistId = Checklists.insert(checklist);
|
const newChecklistId = Checklists.insert(checklist);
|
||||||
ChecklistItems.find({checklistId: checklistId}).forEach(function(item) {
|
ChecklistItems.find({checklistId}).forEach(function(item) {
|
||||||
item._id = null;
|
item._id = null;
|
||||||
item.checklistId = newChecklistId;
|
item.checklistId = newChecklistId;
|
||||||
item.cardId = _id;
|
item.cardId = _id;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue