Merge pull request #6878 from home-assistant/external-header-fallback

This commit is contained in:
Bram Kragten 2020-09-09 17:02:24 +02:00 committed by GitHub
commit ad8430049d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,8 +97,13 @@ export const showConfigFlowDialog = (
},
renderExternalStepHeader(hass, step) {
return hass.localize(
`component.${step.handler}.config.step.${step.step_id}.title`
return (
hass.localize(
`component.${step.handler}.config.step.${step.step_id}.title`
) ||
hass.localize(
"ui.panel.config.integrations.config_flow.external_step.open_site"
)
);
},