mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +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) {
|
renderShowFormStepHeader(hass, step) {
|
||||||
return hass.localize(
|
return (
|
||||||
`component.${step.handler}.config.step.${step.step_id}.title`
|
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