mirror of
https://github.com/ansible/awx.git
synced 2026-03-06 03:01:06 -03:30
Use object desctructuring.
This commit is contained in:
@@ -16,8 +16,8 @@ class AnsibleSelect extends React.Component {
|
|||||||
}
|
}
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
const hide = this.props.hidden;
|
const { hidden } = this.props;
|
||||||
if (hide) {
|
if (hidden) {
|
||||||
return null;
|
return null;
|
||||||
} else {
|
} else {
|
||||||
return (
|
return (
|
||||||
|
|||||||
Reference in New Issue
Block a user