fix
This commit is contained in:
@@ -158,7 +158,9 @@ export function ProfileCard({
|
||||
|
||||
{/* Action Buttons */}
|
||||
<div className="flex items-center justify-center lg:justify-start gap-3">
|
||||
{messageHref ? (
|
||||
{/* Message button - only enabled when connected */}
|
||||
{(showEditButton || connectionStatus === 'ACCEPTED') && (
|
||||
messageHref ? (
|
||||
<Link
|
||||
href={messageHref}
|
||||
onClick={(e) => handleActionClick(e, messageHref)}
|
||||
@@ -185,6 +187,7 @@ export function ProfileCard({
|
||||
/>
|
||||
Message
|
||||
</button>
|
||||
)
|
||||
)}
|
||||
{showEditButton && requestsHref ? (
|
||||
// Agent's own profile - show Requests link with badge
|
||||
|
||||
Reference in New Issue
Block a user