mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 14:56:37 +00:00
Show abort reason when no translation (#20664)
This commit is contained in:
parent
1df92fa863
commit
2b27a4da2b
@ -52,7 +52,7 @@ export const showConfigFlowDialog = (
|
||||
? html`
|
||||
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
|
||||
`
|
||||
: "";
|
||||
: step.reason;
|
||||
},
|
||||
|
||||
renderShowFormStepHeader(hass, step) {
|
||||
|
@ -34,7 +34,7 @@ export interface FlowConfig {
|
||||
renderAbortDescription(
|
||||
hass: HomeAssistant,
|
||||
step: DataEntryFlowStepAbort
|
||||
): TemplateResult | "";
|
||||
): TemplateResult | string;
|
||||
|
||||
renderShowFormStepHeader(
|
||||
hass: HomeAssistant,
|
||||
|
@ -65,7 +65,7 @@ export const showOptionsFlowDialog = (
|
||||
.content=${description}
|
||||
></ha-markdown>
|
||||
`
|
||||
: "";
|
||||
: step.reason;
|
||||
},
|
||||
|
||||
renderShowFormStepHeader(hass, step) {
|
||||
|
@ -64,7 +64,7 @@ export const showRepairsFlowDialog = (
|
||||
.content=${description}
|
||||
></ha-markdown>
|
||||
`
|
||||
: "";
|
||||
: step.reason;
|
||||
},
|
||||
|
||||
renderShowFormStepHeader(hass, step) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user