mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 11:16:35 +00:00
Fix open config flow when coming from a my link (#13720)
This commit is contained in:
parent
7696df56ac
commit
c95d19299b
@ -695,14 +695,12 @@ 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, {
|
showConfigFlowDialog(this, {
|
||||||
dialogClosedCallback: () => {
|
dialogClosedCallback: () => {
|
||||||
this._handleFlowUpdated();
|
this._handleFlowUpdated();
|
||||||
@ -712,6 +710,8 @@ class HaConfigIntegrations extends SubscribeMixin(LitElement) {
|
|||||||
showAdvanced: this.hass.userData?.showAdvanced,
|
showAdvanced: this.hass.userData?.showAdvanced,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
const supportedBrands = await getSupportedBrands(this.hass);
|
const supportedBrands = await getSupportedBrands(this.hass);
|
||||||
const supportedBrandsIntegrations =
|
const supportedBrandsIntegrations =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user