-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
Maybe you can sort items before creating your array by day in your getFormattedData(items), like:
items.sort((itemA, itemB) => {
if(moment(itemA.ts).isBefore(itemB.ts)) {
return -1;
} else if(moment(itemB.ts).isBefore(itemA.ts)) {
return 1;
} else {
return 0;
}
}).forEach(....
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels