mirror of
https://github.com/wekan/wekan.git
synced 2025-04-22 04:57:07 -04:00
Bring back Almost-Due for Start Date.
Thanks to darren-teo ! Fixes #3766
This commit is contained in:
parent
1f76159bfe
commit
8ca1b25daf
1 changed files with 1 additions and 0 deletions
|
@ -187,6 +187,7 @@ class CardStartDate extends CardDate {
|
|||
// if dueAt or endAt exist & are > startAt, startAt doesn't need to be flagged
|
||||
if ((endAt && theDate.isAfter(endAt)) || (dueAt && theDate.isAfter(dueAt)))
|
||||
classes += 'long-overdue';
|
||||
else if (theDate.isBefore(now, 'minute')) classes += 'almost-due';
|
||||
else classes += 'current';
|
||||
return classes;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue