Disabled Assign Policy button if multiple groups selected (#2058)
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user