1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-30 22:21:13 +03:00

Removes isPlain prop from DropdownItem

This commit is contained in:
Alex Corey 2019-09-25 09:21:56 -04:00
parent ce1d9793ce
commit 38b506bb94

View File

@ -239,12 +239,12 @@ class TemplatesList extends Component {
onSelect={this.handleAddSelect}
toggle={<ToolbarAddButton onClick={() => {}} />}
dropdownItems={[
<DropdownItem key="job" isPlain>
<DropdownItem isHovered={false} key="job">
<Link to={`${match.url}/job_template/add/`}>
{i18n._(t`Job Template`)}
</Link>
</DropdownItem>,
<DropdownItem key="workflow" isPlain>
<DropdownItem key="workflow">
<Link to={`${match.url}_workflow/add/`}>
{i18n._(t`Workflow Template`)}
</Link>