Fix lint errors

This commit is contained in:
Andrés Manelli 2019-02-24 00:13:35 +01:00
parent 60be4df76e
commit eb62c9ce6a
9 changed files with 163 additions and 163 deletions

View file

@ -171,8 +171,8 @@ BlazeComponent.extendComponent({
idOrNull(swimlaneId) {
const currentUser = Meteor.user();
if (currentUser.profile.boardView === 'board-view-swimlanes'
|| this.data().board().isTemplatesBoard())
if (currentUser.profile.boardView === 'board-view-swimlanes' ||
this.data().board().isTemplatesBoard())
return swimlaneId;
return undefined;
},
@ -604,7 +604,7 @@ BlazeComponent.extendComponent({
},
'click .js-minicard'(evt) {
// 0. Common
let element = Blaze.getData(evt.currentTarget);
const element = Blaze.getData(evt.currentTarget);
element.boardId = this.boardId;
let _id = '';
if (!this.isTemplateSearch || this.isCardTemplateSearch) {

View file

@ -741,7 +741,7 @@ if (Meteor.isServer) {
Boards.insert({
title: TAPi18n.__('templates'),
permission: 'private',
type: 'template-container'
type: 'template-container',
}, fakeUser, (err, boardId) => {
// Insert the reference to our templates board