From d3ca8167626005c33602b600811bc56f8d47ae6a Mon Sep 17 00:00:00 2001 From: Benjamin Andresen Date: Mon, 4 Nov 2019 08:08:51 +0100 Subject: cardDate: fix ReceivedDate startAt coloring --- client/components/cards/cardDate.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/components/cards/cardDate.js') diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js index 6634ee1b..77b39078 100644 --- a/client/components/cards/cardDate.js +++ b/client/components/cards/cardDate.js @@ -237,7 +237,7 @@ class CardReceivedDate extends CardDate { const theDate = this.date.get(); // if dueAt, endAt and startAt exist & are > receivedAt, receivedAt doesn't need to be flagged if ( - (startAt && theDate.isAfter(dueAt)) || + (startAt && theDate.isAfter(startAt)) || (endAt && theDate.isAfter(endAt)) || (dueAt && theDate.isAfter(dueAt)) ) -- cgit v1.2.3-1-g7c22