aboutsummaryrefslogtreecommitdiffstats
path: root/apps/web/components/dashboard/lists/ListHeader.tsx
diff options
context:
space:
mode:
authorekambains <bainseka@sheridancollege.ca>2025-04-12 15:11:28 -0400
committerGitHub <noreply@github.com>2025-04-12 20:11:28 +0100
commita39cd5f3c0a3e287652f945d203facab413b5b65 (patch)
treefb47ba7f7180604d1c023361b65340b0096a6096 /apps/web/components/dashboard/lists/ListHeader.tsx
parent56e679565741a501fcc73f2ea4f417c111c65c1e (diff)
downloadkarakeep-a39cd5f3c0a3e287652f945d203facab413b5b65.tar.zst
feat(web): Optionally add short description to lists (#1225)
* feat(web): Optionally add short description to lists * regenerate openapi spec --------- Co-authored-by: Mohamed Bassem <me@mbassem.com>
Diffstat (limited to 'apps/web/components/dashboard/lists/ListHeader.tsx')
-rw-r--r--apps/web/components/dashboard/lists/ListHeader.tsx5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/web/components/dashboard/lists/ListHeader.tsx b/apps/web/components/dashboard/lists/ListHeader.tsx
index af4a3551..4e318dad 100644
--- a/apps/web/components/dashboard/lists/ListHeader.tsx
+++ b/apps/web/components/dashboard/lists/ListHeader.tsx
@@ -48,6 +48,11 @@ export default function ListHeader({
<div className="flex items-center gap-2">
<span className="text-2xl">
{list.icon} {list.name}
+ {list.description && (
+ <span className="mx-2 text-lg text-gray-400">
+ {`(${list.description})`}
+ </span>
+ )}
</span>
</div>
<div className="flex items-center">