mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-13 12:26:35 +00:00
Fix editing wait actions in script editor (#3181)
This commit is contained in:
parent
d77ae840d8
commit
af6ade8eb6
@ -18,8 +18,8 @@ export default class WaitAction extends Component {
|
|||||||
onTemplateChange(ev) {
|
onTemplateChange(ev) {
|
||||||
this.props.onChange(
|
this.props.onChange(
|
||||||
this.props.index,
|
this.props.index,
|
||||||
Object.assign({}, this.props.trigger, {
|
Object.assign({}, this.props.action, {
|
||||||
[ev.target.name]: ev.target.value,
|
[ev.target.getAttribute("name")]: ev.target.value,
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user