mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Fix add zwave device my link (#24871)
This commit is contained in:
parent
29d2c29af3
commit
488b54cf19
@ -11,12 +11,19 @@ export class DialogZWaveJSAddNode extends HTMLElement {
|
||||
public configEntryId!: string;
|
||||
|
||||
connectedCallback() {
|
||||
this._openDialog();
|
||||
}
|
||||
|
||||
private async _openDialog() {
|
||||
await navigate(
|
||||
`/config/devices/dashboard?config_entry=${this.configEntryId}`,
|
||||
{
|
||||
replace: true,
|
||||
}
|
||||
);
|
||||
showZWaveJSAddNodeDialog(this, {
|
||||
entry_id: this.configEntryId,
|
||||
});
|
||||
navigate(`/config/devices/dashboard?config_entry=${this.configEntryId}`, {
|
||||
replace: true,
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user