diff options
author | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-16 23:15:30 +0100 |
---|---|---|
committer | Andrés Manelli <andresmanelli@gmail.com> | 2019-03-16 23:15:30 +0100 |
commit | 777d9ac35320cbfdd8d90136b176d4a3e69e74be (patch) | |
tree | 19d1196ba9814909c7b1427e2db03f9807a67e0b /client/components | |
parent | d01fccd9497120613bf2c0b986963e67e7f3d6fa (diff) | |
download | wekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.tar.gz wekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.tar.bz2 wekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.zip |
Lint fix
Diffstat (limited to 'client/components')
-rw-r--r-- | client/components/activities/activities.js | 2 | ||||
-rw-r--r-- | client/components/sidebar/sidebarCustomFields.js | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js index cbdd776e..0476897f 100644 --- a/client/components/activities/activities.js +++ b/client/components/activities/activities.js @@ -75,7 +75,7 @@ BlazeComponent.extendComponent({ lastLabel(){ const lastLabelId = this.currentData().labelId; if (!lastLabelId) - return; + return null; const lastLabel = Boards.findOne(Session.get('currentBoard')).getLabelById(lastLabelId); if(lastLabel.name === undefined || lastLabel.name === ''){ return lastLabel.color; diff --git a/client/components/sidebar/sidebarCustomFields.js b/client/components/sidebar/sidebarCustomFields.js index 81147ce5..28af973b 100644 --- a/client/components/sidebar/sidebarCustomFields.js +++ b/client/components/sidebar/sidebarCustomFields.js @@ -126,8 +126,8 @@ const CreateCustomFieldPopup = BlazeComponent.extendComponent({ if (customField.boardIds.length > 1) { CustomFields.update(customField._id, { $pull: { - boardIds: Session.get('currentBoard') - } + boardIds: Session.get('currentBoard'), + }, }); } else { CustomFields.remove(customField._id); |