From 57b99728adf8afe46dc013e5b7acd03d03b1ee59 Mon Sep 17 00:00:00 2001 From: Alex Khomenko Date: Mon, 9 Oct 2023 13:43:47 +0200 Subject: [PATCH] Admin: Add missing wrapper to OrgUsersTable (#76185) --- .../app/features/admin/Users/OrgUsersTable.tsx | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/public/app/features/admin/Users/OrgUsersTable.tsx b/public/app/features/admin/Users/OrgUsersTable.tsx index 8b6a8a548dd..27d41f9c9ae 100644 --- a/public/app/features/admin/Users/OrgUsersTable.tsx +++ b/public/app/features/admin/Users/OrgUsersTable.tsx @@ -72,6 +72,7 @@ export const OrgUsersTable = ({ }: Props) => { const [userToRemove, setUserToRemove] = useState(null); const [roleOptions, setRoleOptions] = useState([]); + const styles = useStyles2(getStyles); useEffect(() => { async function fetchOptions() { @@ -187,10 +188,17 @@ export const OrgUsersTable = ({ return ( - String(user.userId)} fetchData={fetchData} /> - - - +
+ String(user.userId)} + fetchData={fetchData} + /> + + + +
{Boolean(userToRemove) && (