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