mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-29 20:26:39 +00:00
Mark titles in config flows optional (#5584)
This commit is contained in:
parent
c72bb5b22b
commit
a49c84032b
@ -64,8 +64,10 @@ export const showConfigFlowDialog = (
|
||||
},
|
||||
|
||||
renderShowFormStepHeader(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(`component.${step.handler}.title`)
|
||||
);
|
||||
},
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user