diff --git a/index.html b/index.html
index 32e8668..2ec0362 100644
--- a/index.html
+++ b/index.html
@@ -167,11 +167,11 @@
result?.map(item => {
if (moment(item.time).isAfter(nearlyWeekS)) {
nearlyWeek.unshift(item);
- } else if (moment(item.time).isAfter(nearlyMonthS)) {
- nearlyMonth = [...nearlyWeek];
+ }
+ if (moment(item.time).isAfter(nearlyMonthS)) {
nearlyMonth.unshift(item);
- } if (moment(item.time).isAfter(lastThreeMonthsS)) {
- lastThreeMonths = [...nearlyMonth]
+ }
+ if (moment(item.time).isAfter(lastThreeMonthsS)) {
lastThreeMonths.unshift(item);
}
})