Fixed disabled Assign Policy button for multiple group selection (#1984)

This commit is contained in:
jinapurapu
2022-05-11 15:14:03 -07:00
committed by GitHub
parent 6409d36df0
commit 6f6846ee2a

View File

@@ -239,7 +239,7 @@ const Groups = ({ classes, setErrorSnackMessage, history }: IGroupsProps) => {
text={"Assign Policy"}
icon={<IAMPoliciesIcon />}
color="primary"
disabled={checkedGroups.length !== 1}
disabled={checkedGroups.length < 1}
variant={"outlined"}
/>