From 320651d63fe705e5535db8a1121bd375f4615978 Mon Sep 17 00:00:00 2001 From: Alex Tran Date: Mon, 3 Jun 2024 15:52:19 -0500 Subject: [PATCH] add assets to bucket group by day --- web/src/lib/stores/assets.store.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/stores/assets.store.ts b/web/src/lib/stores/assets.store.ts index 2980f4c7da..a56f066ae6 100644 --- a/web/src/lib/stores/assets.store.ts +++ b/web/src/lib/stores/assets.store.ts @@ -347,7 +347,7 @@ export class AssetStore { const updatedBuckets = new Set(); for (const asset of assets) { - const timeBucket = DateTime.fromISO(asset.fileCreatedAt).toUTC().startOf('month').toString(); + const timeBucket = DateTime.fromISO(asset.fileCreatedAt).toUTC().startOf('day').toString(); let bucket = this.getBucketByDate(timeBucket); if (!bucket) {