put id higher in props

This commit is contained in:
mfrances 2021-02-16 15:29:06 -05:00
parent 8345f5cb3d
commit 2f0b343661

View file

@ -58,13 +58,13 @@ export const KeycloakCard = ({
<CardActions> <CardActions>
{dropdownItems && ( {dropdownItems && (
<Dropdown <Dropdown
data-cy={`${title}-dropdown`}
isPlain isPlain
position={"right"} position={"right"}
toggle={<KebabToggle onToggle={onDropdownToggle} />} toggle={<KebabToggle onToggle={onDropdownToggle} />}
onClick={(e) => handleCardMenuClick(e)} onClick={(e) => handleCardMenuClick(e)}
isOpen={isDropdownOpen} isOpen={isDropdownOpen}
dropdownItems={dropdownItems} dropdownItems={dropdownItems}
data-cy={`${title}-dropdown`}
/> />
)} )}
</CardActions> </CardActions>