Fix lint errors of

https://github.com/wekan/wekan/pull/1611

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2018-04-27 17:49:14 +03:00
parent 21e68f3e54
commit 212440862b

View file

@ -430,8 +430,7 @@ export class TrelloCreator {
// keep track of Trello id => WeKan id
this.checklists[checklist.id] = checklistId;
// Now add the items to the checklistItems
var counter = 0;
const itemsToCreate = [];
let counter = 0;
checklist.checkItems.forEach((item) => {
counter++;
const checklistItemTocreate = {