mirror of
https://github.com/ansible/awx.git
synced 2026-02-02 10:08:10 -03:30
Use object desctructuring.
This commit is contained in:
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user