diff --git a/src/Components/Facility/FacilityUsers.tsx b/src/Components/Facility/FacilityUsers.tsx index ca2e1d0e363..f18b9578192 100644 --- a/src/Components/Facility/FacilityUsers.tsx +++ b/src/Components/Facility/FacilityUsers.tsx @@ -296,7 +296,10 @@ export default function FacilityUsers(props: any) { -
+
{`${user.first_name} ${user.last_name}`} {user.last_login && isUserOnline(user) ? ( @@ -306,13 +309,12 @@ export default function FacilityUsers(props: any) { > ) : null} {showUserDelete(authUser, user) && ( - + +
)}
diff --git a/src/Components/Facility/Investigations/InvestigationTable.tsx b/src/Components/Facility/Investigations/InvestigationTable.tsx index 54e7e50bdc7..d322698779d 100644 --- a/src/Components/Facility/Investigations/InvestigationTable.tsx +++ b/src/Components/Facility/Investigations/InvestigationTable.tsx @@ -17,7 +17,7 @@ const TestRow = ({ data, i, onChange, showForm, value, isChanged }: any) => { {data?.investigation_object?.name || "---"} - + {showForm ? ( data?.investigation_object?.investigation_type === "Choice" ? ( -
+
{`${user.first_name} ${user.last_name}`} {user.last_login && cur_online ? ( @@ -228,15 +231,12 @@ export default function ManageUsers() { > ) : null} {showUserDelete(authUser, user) && ( - handleDelete(user)} > - Delete - + +
)}