mirror of
https://github.com/ansible/awx.git
synced 2026-01-13 02:50:02 -03:30
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…
x
Reference in New Issue
Block a user