diff --git a/src/components/AnsibleSelect/AnsibleSelect.jsx b/src/components/AnsibleSelect/AnsibleSelect.jsx index 632a5b544f..d411c1d17a 100644 --- a/src/components/AnsibleSelect/AnsibleSelect.jsx +++ b/src/components/AnsibleSelect/AnsibleSelect.jsx @@ -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 (