summaryrefslogtreecommitdiffstats
path: root/client/components/activities
diff options
context:
space:
mode:
authorLauri Ojansivu <x@xet7.org>2018-09-16 01:50:36 +0300
committerLauri Ojansivu <x@xet7.org>2018-09-16 01:50:36 +0300
commitdf84a2be9adb2eeee25141588a80d4523d38675d (patch)
treed7defe25d43e41a76d9d11461cbc539ad01598c2 /client/components/activities
parentb3a752ef34cb1cd324f7e2b55bebef81fb2281c3 (diff)
downloadwekan-df84a2be9adb2eeee25141588a80d4523d38675d.tar.gz
wekan-df84a2be9adb2eeee25141588a80d4523d38675d.tar.bz2
wekan-df84a2be9adb2eeee25141588a80d4523d38675d.zip
Fix lint errors.
Diffstat (limited to 'client/components/activities')
-rw-r--r--client/components/activities/activities.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/components/activities/activities.js b/client/components/activities/activities.js
index 6633a91a..b3fe8f50 100644
--- a/client/components/activities/activities.js
+++ b/client/components/activities/activities.js
@@ -49,7 +49,7 @@ BlazeComponent.extendComponent({
this.loadNextPageLocked = true;
}
},
-
+
checkItem(){
const checkItemId = this.currentData().checklistItemId;
const checkItem = ChecklistItems.findOne({_id:checkItemId});
@@ -75,7 +75,7 @@ BlazeComponent.extendComponent({
lastLabel(){
const lastLabelId = this.currentData().labelId;
const lastLabel = Boards.findOne(Session.get('currentBoard')).getLabelById(lastLabelId);
- if(lastLabel.name == undefined || lastLabel.name == ""){
+ if(lastLabel.name === undefined || lastLabel.name === ''){
return lastLabel.color;
}else{
return lastLabel.name;