Skip to content

Commit d84d0c6

Browse files
committed
fix duplication of today events in tomorrow group
1 parent 022f76a commit d84d0c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/scripts/controllers/MainController.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ require('../main')
2626
if (moment(card.due).isBefore(moment().endOf('day'))) {
2727
(labels.today = labels.today || []).push(card);
2828
} else if (moment(card.due).isBefore(moment().add(1, 'day').endOf('day'))) {
29-
(labels.tomorrow = labels.today || []).push(card);
29+
(labels.tomorrow = labels.tomorrow || []).push(card);
3030
} else if (moment(card.due).isBefore(moment().endOf('week'))) {
3131
(labels.week = labels.week || []).push(card);
3232
} else if (moment(card.due).isBefore(moment().add(1, 'week').endOf('week'))) {

0 commit comments

Comments
 (0)