mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-20 15:56:35 +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.
|
Learn more about conditions.
|
||||||
</a></p>
|
</a></p>
|
||||||
</span>
|
</span>
|
||||||
<Condition condition={condition} onChange={this.conditionChanged} />
|
<Condition condition={condition || []} onChange={this.conditionChanged} />
|
||||||
</ha-config-section>
|
</ha-config-section>
|
||||||
|
|
||||||
<ha-config-section is-wide={isWide}>
|
<ha-config-section is-wide={isWide}>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user