mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +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`
|
? html`
|
||||||
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
|
<ha-markdown allowsvg breaks .content=${description}></ha-markdown>
|
||||||
`
|
`
|
||||||
: "";
|
: step.reason;
|
||||||
},
|
},
|
||||||
|
|
||||||
renderShowFormStepHeader(hass, step) {
|
renderShowFormStepHeader(hass, step) {
|
||||||
|
@ -34,7 +34,7 @@ export interface FlowConfig {
|
|||||||
renderAbortDescription(
|
renderAbortDescription(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
step: DataEntryFlowStepAbort
|
step: DataEntryFlowStepAbort
|
||||||
): TemplateResult | "";
|
): TemplateResult | string;
|
||||||
|
|
||||||
renderShowFormStepHeader(
|
renderShowFormStepHeader(
|
||||||
hass: HomeAssistant,
|
hass: HomeAssistant,
|
||||||
|
@ -65,7 +65,7 @@ export const showOptionsFlowDialog = (
|
|||||||
.content=${description}
|
.content=${description}
|
||||||
></ha-markdown>
|
></ha-markdown>
|
||||||
`
|
`
|
||||||
: "";
|
: step.reason;
|
||||||
},
|
},
|
||||||
|
|
||||||
renderShowFormStepHeader(hass, step) {
|
renderShowFormStepHeader(hass, step) {
|
||||||
|
@ -64,7 +64,7 @@ export const showRepairsFlowDialog = (
|
|||||||
.content=${description}
|
.content=${description}
|
||||||
></ha-markdown>
|
></ha-markdown>
|
||||||
`
|
`
|
||||||
: "";
|
: step.reason;
|
||||||
},
|
},
|
||||||
|
|
||||||
renderShowFormStepHeader(hass, step) {
|
renderShowFormStepHeader(hass, step) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user