Skip to content

Commit

Permalink
fix(featureSelectionPopup): allow any users to map feature (#1612)
Browse files Browse the repository at this point in the history
  • Loading branch information
NSUWAL123 authored and spwoodcock committed Jul 4, 2024
1 parent 8331b64 commit af47ed5
Showing 1 changed file with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,12 +121,7 @@ const TaskFeatureSelectionPopup = ({
btnType="primary"
type="submit"
className="fmtm-font-bold !fmtm-rounded fmtm-text-sm !fmtm-py-2 !fmtm-w-full fmtm-flex fmtm-justify-center"
disabled={
(task_status === 'LOCKED_FOR_MAPPING' &&
authDetails &&
currentTaskInfo?.locked_by_uid !== authDetails?.id) ||
entity?.status !== 0
}
disabled={entity?.status !== 0}
isLoading={updateEntityStatusLoading}
onClick={() => {
const xformId = projectInfo.xform_id;
Expand Down

0 comments on commit af47ed5

Please sign in to comment.