summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/components/cards/cardDate.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/components/cards/cardDate.js b/client/components/cards/cardDate.js
index a298fbab..cb54b033 100644
--- a/client/components/cards/cardDate.js
+++ b/client/components/cards/cardDate.js
@@ -344,9 +344,9 @@ class CardEndDate extends CardDate {
let classes = 'end-date' + ' ';
const dueAt = this.data().getDue();
const theDate = this.date.get();
- if (!dueAt) classes += ''
- else if (theDate.isBefore(dueAt)) classes += 'current'
- else if (theDate.isAfter(dueAt)) classes += 'due'
+ if (!dueAt) classes += '';
+ else if (theDate.isBefore(dueAt)) classes += 'current';
+ else if (theDate.isAfter(dueAt)) classes += 'due';
return classes;
}