mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix discovery flow title (#17065)
This commit is contained in:
parent
cd3bec08f7
commit
c90c4d88af
@ -135,13 +135,13 @@ class HaConfigIntegrations extends SubscribeMixin(HassRouterPage) {
|
|||||||
integrations.add(flow.handler);
|
integrations.add(flow.handler);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
await this.hass.loadBackendTranslation(
|
const localize = await this.hass.loadBackendTranslation(
|
||||||
"config",
|
"config",
|
||||||
Array.from(integrations)
|
Array.from(integrations)
|
||||||
);
|
);
|
||||||
this._configEntriesInProgress = flowsInProgress.map((flow) => ({
|
this._configEntriesInProgress = flowsInProgress.map((flow) => ({
|
||||||
...flow,
|
...flow,
|
||||||
localized_title: localizeConfigFlowTitle(this.hass.localize, flow),
|
localized_title: localizeConfigFlowTitle(localize, flow),
|
||||||
}));
|
}));
|
||||||
}),
|
}),
|
||||||
];
|
];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user