mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Clear entityId before duplicate script (#17624)
This commit is contained in:
parent
014bbf12ce
commit
a725b6c9de
@ -761,6 +761,7 @@ export class HaScriptEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
})
|
||||
: await this.confirmUnsavedChanged();
|
||||
if (result) {
|
||||
this._entityId = undefined;
|
||||
showScriptEditor({
|
||||
...this._config,
|
||||
alias: this._readOnly
|
||||
|
Loading…
x
Reference in New Issue
Block a user