mirror of
https://github.com/wekan/wekan.git
synced 2025-12-16 23:40:13 +01:00
Fix lint errors in lint error fix.
Thanks to xet7 !
This commit is contained in:
parent
e7603298d7
commit
9e95c06415
9 changed files with 47 additions and 49 deletions
|
|
@ -1,4 +1,4 @@
|
|||
const DateString = Match.Where(function (dateAsString) {
|
||||
const DateString = Match.Where(function(dateAsString) {
|
||||
check(dateAsString, String);
|
||||
return moment(dateAsString, moment.ISO_8601).isValid();
|
||||
});
|
||||
|
|
@ -299,13 +299,13 @@ export class TrelloCreator {
|
|||
}
|
||||
}
|
||||
return true;
|
||||
})
|
||||
});
|
||||
if (positiveVotes.length > 0) {
|
||||
cardToCreate.vote = {
|
||||
question: cardToCreate.title,
|
||||
public: true,
|
||||
positive: positiveVotes,
|
||||
}
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -369,7 +369,7 @@ export class TrelloCreator {
|
|||
// so we make it server only, and let UI catch up once it is done, forget about latency comp.
|
||||
const self = this;
|
||||
if (Meteor.isServer) {
|
||||
file.attachData(att.url, function (error) {
|
||||
file.attachData(att.url, function(error) {
|
||||
file.boardId = boardId;
|
||||
file.cardId = cardId;
|
||||
file.userId = self._user(att.idMemberCreator);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue