From f1b857d14b97d6c15dd956e80bac5d3b8baa4cde Mon Sep 17 00:00:00 2001 From: Bram Adams <3282661+bramses@users.noreply.github.com> Date: Sat, 17 Aug 2024 16:00:08 -0400 Subject: [PATCH] feat: Display number of entries in GardenDaily component --- src/app/[locale]/(auth)/dashboard/garden/page.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/app/[locale]/(auth)/dashboard/garden/page.tsx b/src/app/[locale]/(auth)/dashboard/garden/page.tsx index 85ebad3..6ee6ee1 100644 --- a/src/app/[locale]/(auth)/dashboard/garden/page.tsx +++ b/src/app/[locale]/(auth)/dashboard/garden/page.tsx @@ -189,6 +189,9 @@ const GardenDaily = () => { fetchRecords(val)} />

{selectedDay} + + {entries.length > 0 ? `:: ${entries.length} entries` : ''}{' '} +

{loading &&

Loading...

} {entries.length === 0 ? (