Sort tomorrow group correctly
This commit is contained in:
@@ -38,7 +38,7 @@ const groupedTodos = computed(() => {
|
||||
groups['today'].push(todo)
|
||||
}
|
||||
// tomorrow
|
||||
if (daysFromNow(dueDate) === 1) {
|
||||
else if (daysFromNow(dueDate) === 1) {
|
||||
if (!groups['tomorrow']) groups['tomorrow'] = []
|
||||
groups['tomorrow'].push(todo)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user