mirror of
https://github.com/ansible/awx.git
synced 2024-11-01 08:21:15 +03:00
Use object desctructuring.
This commit is contained in:
parent
9627a73978
commit
44029c2191
@ -16,8 +16,8 @@ class AnsibleSelect extends React.Component {
|
||||
}
|
||||
|
||||
render() {
|
||||
const hide = this.props.hidden;
|
||||
if (hide) {
|
||||
const { hidden } = this.props;
|
||||
if (hidden) {
|
||||
return null;
|
||||
} else {
|
||||
return (
|
||||
|
Loading…
Reference in New Issue
Block a user