From ba0804db3098a78d294ba234232b78c84ff76199 Mon Sep 17 00:00:00 2001 From: zias Date: Wed, 11 Mar 2026 11:47:54 +0100 Subject: [PATCH] fix: performers shouldnt see payment badge --- apps/web/src/routes/manage.$token.tsx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/apps/web/src/routes/manage.$token.tsx b/apps/web/src/routes/manage.$token.tsx index a41c93a..286f515 100644 --- a/apps/web/src/routes/manage.$token.tsx +++ b/apps/web/src/routes/manage.$token.tsx @@ -585,8 +585,10 @@ function ManageRegistrationPage() { )} - {/* Payment status - shown for everyone with pending/extra payment or gift */} - {(data.paymentStatus !== "paid" || (data.giftAmount ?? 0) > 0) && ( + {/* Payment status badge: + - performers only see a badge if they have a gift to pay, or already paid one + - watchers always have a payment (drink card), so always show a badge */} + {(isPerformer ? (data.giftAmount ?? 0) > 0 : true) && (
{data.paymentStatus === "paid" ? (