Disabled Assign Policy button if multiple groups selected (#2058)

This commit is contained in:
jinapurapu
2022-05-31 17:55:16 -07:00
committed by GitHub
parent dec7b138e9
commit bb55f9f331

View File

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