mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 12:46:35 +00:00
Add fallback for renderExternalStepHeader
This commit is contained in:
parent
07569f10b5
commit
b3a763a48d
@ -97,8 +97,13 @@ export const showConfigFlowDialog = (
|
|||||||
},
|
},
|
||||||
|
|
||||||
renderExternalStepHeader(hass, step) {
|
renderExternalStepHeader(hass, step) {
|
||||||
return hass.localize(
|
return (
|
||||||
`component.${step.handler}.config.step.${step.step_id}.title`
|
hass.localize(
|
||||||
|
`component.${step.handler}.config.${step.step_id}.title`
|
||||||
|
) ||
|
||||||
|
hass.localize(
|
||||||
|
"ui.panel.config.integrations.config_flow.external_step.open_site"
|
||||||
|
)
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user