From 39ccbb81a3fddf87f09688437fb87eabe70205b5 Mon Sep 17 00:00:00 2001 From: vishnuszipstack <117254672+vishnuszipstack@users.noreply.github.com> Date: Thu, 22 Aug 2024 13:08:25 +0530 Subject: [PATCH] fix for edit user (#608) --- frontend/src/components/settings/invite/InviteEditUser.jsx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/frontend/src/components/settings/invite/InviteEditUser.jsx b/frontend/src/components/settings/invite/InviteEditUser.jsx index e7815c042..8bcbb1eba 100644 --- a/frontend/src/components/settings/invite/InviteEditUser.jsx +++ b/frontend/src/components/settings/invite/InviteEditUser.jsx @@ -25,7 +25,6 @@ function InviteEditUser() { const [submitLoading, setSubmitLoading] = useState(false); const [initialRole, setInitialRole] = useState(); const { setPostHogCustomEvent } = usePostHogEvents(); - const { flags } = sessionDetails; const isInvite = location.pathname.split("/").slice(-1)[0] === "invite"; const validateMessages = { @@ -187,7 +186,7 @@ function InviteEditUser() { label: formatOptionLabel(role.name), }; })} - disabled={!flags.manual_review} + disabled={isInvite} />