diff options
Diffstat (limited to 'client')
-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); |