sharing logic
Deploy / deploy (push) Successful in 2m33s

This commit is contained in:
twotalesanimation
2026-06-25 19:13:32 +02:00
parent 13d47315dd
commit 935a293777
2 changed files with 3 additions and 3 deletions
@@ -272,7 +272,7 @@ export default function ShotDetailPage() {
)}
{/* Client sharing badge */}
{shot.shotApprovalStatus === "INTERNALLY_APPROVED" && (
{["INTERNALLY_APPROVED", "CLIENT_APPROVED"].includes(shot.shotApprovalStatus) && (
<Badge variant="outline" className={cn(
"text-[11px]",
shot.sharedWithClient
@@ -361,7 +361,7 @@ export default function ShotDetailPage() {
)}
{/* Share / Unshare with client */}
{canInternallyApprove && shot.shotApprovalStatus === "INTERNALLY_APPROVED" && !shot.sharedWithClient && (
{canInternallyApprove && ["INTERNALLY_APPROVED", "CLIENT_APPROVED"].includes(shot.shotApprovalStatus) && !shot.sharedWithClient && (
<Button
variant="outline"
size="sm"