mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix open config flow when coming from a my link (#13720)
This commit is contained in:
parent
8f6a09f44c
commit
3a17f2d73e
@ -689,22 +689,22 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
if (handlers.includes(domain)) {
|
if (handlers.includes(domain)) {
|
||||||
const localize = await localizePromise;
|
const localize = await localizePromise;
|
||||||
if (
|
if (
|
||||||
!(await showConfirmationDialog(this, {
|
await showConfirmationDialog(this, {
|
||||||
title: localize("ui.panel.config.integrations.confirm_new", {
|
title: localize("ui.panel.config.integrations.confirm_new", {
|
||||||
integration: domainToName(localize, domain),
|
integration: domainToName(localize, domain),
|
||||||
}),
|
}),
|
||||||
}))
|
})
|
||||||
) {
|
) {
|
||||||
return;
|
showConfigFlowDialog(this, {
|
||||||
|
dialogClosedCallback: () => {
|
||||||
|
this._handleFlowUpdated();
|
||||||
|
},
|
||||||
|
startFlowHandler: domain,
|
||||||
|
manifest: this._manifests[domain],
|
||||||
|
showAdvanced: this.hass.userData?.showAdvanced,
|
||||||
|
});
|
||||||
}
|
}
|
||||||
showConfigFlowDialog(this, {
|
return;
|
||||||
dialogClosedCallback: () => {
|
|
||||||
this._handleFlowUpdated();
|
|
||||||
},
|
|
||||||
startFlowHandler: domain,
|
|
||||||
manifest: this._manifests[domain],
|
|
||||||
showAdvanced: this.hass.userData?.showAdvanced,
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
|
||||||
const supportedBrands = await getSupportedBrands(this.hass);
|
const supportedBrands = await getSupportedBrands(this.hass);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user