Skip to content

Commit

Permalink
Update health/micro-ui/web/micro-ui-internals/packages/modules/campai…
Browse files Browse the repository at this point in the history
…gn-manager/src/pages/employee/BoundaryHome.js

Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
jagankumar-egov and coderabbitai[bot] authored Dec 10, 2024
1 parent ac3a7bb commit f0a6c91
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,10 @@ const type=searchParams.get("type")|| config?.type;
size={"large"}
variation={"secondary"}
label={t(key)}
isDisabled={key=="EDIT_BOUNDARY_DATA"&&Object.keys(data?.boundaryData||{})?.length==0 || key=="CREATE_NEW_BOUNDARY_DATA"&&Object.keys(data?.boundaryData||{})?.length!==0}
isDisabled={
(key=="EDIT_BOUNDARY_DATA" && Object.keys(data?.boundaryData||{})?.length==0) ||
(key=="CREATE_NEW_BOUNDARY_DATA" && Object.keys(data?.boundaryData||{})?.length!==0)
}
onClick={()=>navigate(history,key,data,setShowPopUp)}
style={{ width: "35rem", height: "5rem" }}
textStyles={{ fontSize: "1.5rem" }}
Expand Down

0 comments on commit f0a6c91

Please sign in to comment.