fix(sammlung): status-badge gruen statt in der aktionsfarbe

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
unknown
2026-10-25 15:26:27 +01:00
co-authored by Claude Opus 5.5
parent d009230dc2
commit 604a8ac113
+5 -1
View File
@@ -160,7 +160,11 @@ export default async function SammlungPage({ searchParams }: { searchParams: Sea
.join(' · ')}
</p>
<div className="mt-1 flex flex-wrap items-center gap-1">
<Badge variant={item.status === 'sold' ? 'outline' : 'default'}>
{/* Green like "Vorhanden" in the catalog; red stays for actions. */}
<Badge
variant={item.status === 'sold' ? 'outline' : 'default'}
className={item.status === 'sold' ? undefined : 'bg-owned text-owned-foreground'}
>
{statusLabel(item.status)}
</Badge>
{item.completeness !== 'unknown' ? (