From e8d8f3a1ee2d7b1a750cad044b15310ce94feea4 Mon Sep 17 00:00:00 2001 From: SkateSpots Date: Sun, 4 Oct 2026 12:58:26 +0700 Subject: [PATCH] Surface an owner Edit button next to Share on Lab profiles The Edit action lived only in the sidebar Manage card; owners now get it in the profile header, right next to Share. Non-owners are unaffected (Share keeps the right alignment when there is no Edit). --- src/pages/CoachDetailPage.tsx | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/pages/CoachDetailPage.tsx b/src/pages/CoachDetailPage.tsx index a96524f..07f8628 100644 --- a/src/pages/CoachDetailPage.tsx +++ b/src/pages/CoachDetailPage.tsx @@ -395,11 +395,22 @@ export default function CoachDetailPage() { featuredUntil={profile.featuredUntil} entityCoord={`${profile.event.kind}:${profile.pubkey}:${profile.identifier}`} /> + {user?.pubkey === profile.pubkey && ( + + + + )}