From f2c04621a5134710488873207be6b5219e5d6518 Mon Sep 17 00:00:00 2001 From: GyDi Date: Thu, 10 Feb 2022 01:14:57 +0800 Subject: [PATCH] feat: adjust profile item menu --- src/components/profile-item.tsx | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/profile-item.tsx b/src/components/profile-item.tsx index 9870477..4127c92 100644 --- a/src/components/profile-item.tsx +++ b/src/components/profile-item.tsx @@ -238,9 +238,15 @@ const ProfileItem: React.FC = (props) => { anchorReference="anchorPosition" > Select - View - Update - Update(Proxy) + {isUrlMode ? ( + <> + View + Update + Update(Proxy) + + ) : ( + Edit + )} Delete