summaryrefslogtreecommitdiffstats
path: root/client/components
diff options
context:
space:
mode:
authorAndrés Manelli <andresmanelli@gmail.com>2019-03-16 23:15:30 +0100
committerAndrés Manelli <andresmanelli@gmail.com>2019-03-16 23:15:30 +0100
commit777d9ac35320cbfdd8d90136b176d4a3e69e74be (patch)
tree19d1196ba9814909c7b1427e2db03f9807a67e0b /client/components
parentd01fccd9497120613bf2c0b986963e67e7f3d6fa (diff)
downloadwekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.tar.gz
wekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.tar.bz2
wekan-777d9ac35320cbfdd8d90136b176d4a3e69e74be.zip
Lint fix
Diffstat (limited to 'client/components')
-rw-r--r--client/components/activities/activities.js2
-rw-r--r--client/components/sidebar/sidebarCustomFields.js4
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);