mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Fix bug in automation editor when no conditions
This commit is contained in:
parent
a51b9c1eb5
commit
823a699670
@ -91,7 +91,7 @@ export default class Automation extends Component {
|
||||
Learn more about conditions.
|
||||
</a></p>
|
||||
</span>
|
||||
<Condition condition={condition} onChange={this.conditionChanged} />
|
||||
<Condition condition={condition || []} onChange={this.conditionChanged} />
|
||||
</ha-config-section>
|
||||
|
||||
<ha-config-section is-wide={isWide}>
|
||||
|
Loading…
x
Reference in New Issue
Block a user