summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorMaxime Quandalle <maxime@quandalle.com>2015-10-14 23:50:12 +0200
committerMaxime Quandalle <maxime@quandalle.com>2015-10-14 23:50:12 +0200
commit944a1065d372095e8a0898a4162ca6bb562bab69 (patch)
treef179e744acc7adfe7d2354ce0127daadb6e4104f /client/components
parent43de3b8a01b001ec665294fa8bd75f5d01df7df0 (diff)
downloadwekan-944a1065d372095e8a0898a4162ca6bb562bab69.tar.gz
wekan-944a1065d372095e8a0898a4162ca6bb562bab69.tar.bz2
wekan-944a1065d372095e8a0898a4162ca6bb562bab69.zip
Add some ESLint rules and fix some related issues
Diffstat (limited to 'client/components')
-rw-r--r--client/components/lists/listHeader.js6
1 files changed, 2 insertions, 4 deletions
diff --git a/client/components/lists/listHeader.js b/client/components/lists/listHeader.js
index 7db93618..e34d23fd 100644
--- a/client/components/lists/listHeader.js
+++ b/client/components/lists/listHeader.js
@@ -62,14 +62,12 @@ BlazeComponent.extendComponent({
try {
trelloCard = JSON.parse(jsonData);
} catch (e) {
- console.log(e);
this.setError('error-json-malformed');
return;
}
Meteor.call('importTrelloCard', trelloCard, this.currentData()._id, sortIndex,
(error, response) => {
if (error) {
- console.log(error);
this.setError(error.error);
} else {
Filter.addException(response);
@@ -77,8 +75,8 @@ BlazeComponent.extendComponent({
}
}
);
- }
- },];
+ },
+ }];
},
onCreated() {