From ec99859590336d6ce71b8be9ba45727a1f63d96d Mon Sep 17 00:00:00 2001 From: Charles Morgan Date: Sat, 28 Nov 2020 14:48:35 -0500 Subject: [PATCH] Don't show delete button if its own user Don't show the delete button if a sub-user is looking at sub-users, as they cannot delete themselves. --- resources/scripts/components/server/users/UserRow.tsx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/resources/scripts/components/server/users/UserRow.tsx b/resources/scripts/components/server/users/UserRow.tsx index aa5e55a39..656a69510 100644 --- a/resources/scripts/components/server/users/UserRow.tsx +++ b/resources/scripts/components/server/users/UserRow.tsx @@ -61,7 +61,9 @@ export default ({ subuser }: Props) => { } + {subuser.uuid !== uuid && + } );