feat: Bearbeiten nur noch auf der Detailseite, nicht in der Übersicht

This commit is contained in:
opencode committed 2026-10-18 15:25:13 +02:00
1 parent 0430b3929e
commit 5b9e570117
1 file changed
-10
-10
View File
@@ -52,11 +52,6 @@ function ListItem({ v }: { v: VoucherRow }) {
{v.createdBy ? `Angelegt von ${v.createdBy}` : "Ersteller nicht erfasst"}
{v.mindestbestellwertCents != null ? ` · ${formatMindestbestellwert(v.mindestbestellwertCents)}` : ""}
</p>
<p className="mt-1.5">
<Link href={`/vouchers/${v.id}/edit`} className="text-[13px] font-semibold text-brand-700 hover:underline">
Bearbeiten
</Link>
</p>
</div>
<StatusChip s={s} />
</div>
@@ -86,11 +81,6 @@ function KachelItem({ v }: { v: VoucherRow }) {
{v.mindestbestellwertCents != null ? ` · ${formatMindestbestellwert(v.mindestbestellwertCents)}` : ""}
</p>
</Link>
<p className="px-5 pb-4">
<Link href={`/vouchers/${v.id}/edit`} className="text-[13px] font-semibold text-brand-700 hover:underline">
Bearbeiten
</Link>
</p>
</li>
);
}