Skip to content

Commit

Permalink
fix for edit user (#608)
Browse files Browse the repository at this point in the history
  • Loading branch information
vishnuszipstack authored Aug 22, 2024
1 parent ad9bfb1 commit 39ccbb8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/settings/invite/InviteEditUser.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 = {
Expand Down Expand Up @@ -187,7 +186,7 @@ function InviteEditUser() {
label: formatOptionLabel(role.name),
};
})}
disabled={!flags.manual_review}
disabled={isInvite}
/>
</Form.Item>
</div>
Expand Down

0 comments on commit 39ccbb8

Please sign in to comment.