mirror of
https://github.com/wekan/wekan.git
synced 2026-03-02 03:40:16 +01:00
cardDate: fix ReceivedDate startAt coloring
This commit is contained in:
parent
32ce2b51d8
commit
d3ca816762
1 changed files with 1 additions and 1 deletions
|
|
@ -237,7 +237,7 @@ class CardReceivedDate extends CardDate {
|
||||||
const theDate = this.date.get();
|
const theDate = this.date.get();
|
||||||
// if dueAt, endAt and startAt exist & are > receivedAt, receivedAt doesn't need to be flagged
|
// if dueAt, endAt and startAt exist & are > receivedAt, receivedAt doesn't need to be flagged
|
||||||
if (
|
if (
|
||||||
(startAt && theDate.isAfter(dueAt)) ||
|
(startAt && theDate.isAfter(startAt)) ||
|
||||||
(endAt && theDate.isAfter(endAt)) ||
|
(endAt && theDate.isAfter(endAt)) ||
|
||||||
(dueAt && theDate.isAfter(dueAt))
|
(dueAt && theDate.isAfter(dueAt))
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue