mirror of
https://github.com/wekan/wekan.git
synced 2025-09-22 01:50:48 +02:00
Fix lint errors
This commit is contained in:
parent
60be4df76e
commit
eb62c9ce6a
9 changed files with 163 additions and 163 deletions
|
@ -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) {
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue