mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 11:50:42 -03:30
Pass empty array instead of null to rbac list
The DataListToolbar component expects an array for additional controls in all cases. When there's no controls to pass into the toolbar, provide an empty array to avoid type-related errors.
This commit is contained in:
parent
43cce83ba1
commit
bd30951a4f
@ -203,7 +203,7 @@ class ResourceAccessList extends React.Component {
|
||||
onClick={this.handleAddOpen}
|
||||
/>,
|
||||
]
|
||||
: null
|
||||
: []
|
||||
}
|
||||
/>
|
||||
)}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user