mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +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);
|
||||
}
|
||||
});
|
||||
await this.hass.loadBackendTranslation(
|
||||
const localize = await this.hass.loadBackendTranslation(
|
||||
"config",
|
||||
Array.from(integrations)
|
||||
);
|
||||
this._configEntriesInProgress = flowsInProgress.map((flow) => ({
|
||||
...flow,
|
||||
localized_title: localizeConfigFlowTitle(this.hass.localize, flow),
|
||||
localized_title: localizeConfigFlowTitle(localize, flow),
|
||||
}));
|
||||
}),
|
||||
];
|
||||
|
Loading…
x
Reference in New Issue
Block a user