Skip to content

Commit 2abce74

Browse files
committed
Update partner-info-cards.tsx
1 parent 488b07d commit 2abce74

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

apps/web/ui/partners/partner-info-cards.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,12 +246,16 @@ export function PartnerInfoCards({
246246

247247
<div className="border-border-subtle flex flex-col gap-4 rounded-xl border p-4">
248248
<h2 className="text-content-emphasis text-sm font-semibold">
249-
Organization
249+
{isEnrolled ? "Organization" : "Invite group"}
250250
</h2>
251251

252252
{/* Group */}
253253
<div className="flex flex-col gap-2">
254-
<h3 className="text-content-emphasis text-xs font-semibold">Group</h3>
254+
{isEnrolled && (
255+
<h3 className="text-content-emphasis text-xs font-semibold">
256+
Group
257+
</h3>
258+
)}
255259
{partner ? (
256260
<PartnerInfoGroup
257261
partner={partner}

0 commit comments

Comments
 (0)