mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Fix lint errors
This commit is contained in:
parent
67454d0491
commit
edd2e9db3c
1 changed files with 5 additions and 5 deletions
|
@ -279,11 +279,11 @@ class CardDueDate extends CardDate {
|
|||
|
||||
classes() {
|
||||
let classes = 'due-date' + ' ';
|
||||
// if endAt exists & is < dueAt, dueAt doesn't need to be flagged
|
||||
if ((this.data().endAt != 0) &&
|
||||
(this.data().endAt != null) &&
|
||||
(this.data().endAt != '') &&
|
||||
(this.data().endAt != undefined) &&
|
||||
// if endAt exists & is < dueAt, dueAt doesn't need to be flagged
|
||||
if ((this.data().endAt !== 0) &&
|
||||
(this.data().endAt !== null) &&
|
||||
(this.data().endAt !== '') &&
|
||||
(this.data().endAt !== undefined) &&
|
||||
(this.date.get().isBefore(this.data().endAt)))
|
||||
classes += 'current';
|
||||
else if (this.now.get().diff(this.date.get(), 'days') >= 2)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue