From 3f1dd8d9926ca9f4d876a2e4329aec164f584f99 Mon Sep 17 00:00:00 2001 From: thomasabishop Date: Tue, 29 Jul 2025 18:37:39 +0100 Subject: [PATCH] feat: add entries count to Tag template --- src/templates/Tag.tsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/templates/Tag.tsx b/src/templates/Tag.tsx index 896de28..2991c96 100644 --- a/src/templates/Tag.tsx +++ b/src/templates/Tag.tsx @@ -6,7 +6,7 @@ import { DataTable } from "@/components/DataTable" import { ArrowUpDown } from "lucide-react" import { Button } from "@/components/ui/button" import { Link } from "react-router" - +import { Badge } from "@/components/ui/badge" const columns = [ { accessorKey: "entry_title", @@ -45,10 +45,13 @@ export default function Tag() { return ( +
Entries tagged: {tag} - + + {data?.count || " "} + +
} pageBody={} />