mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-27 14:57:20 +00:00
Only show docs link when showing a form
This commit is contained in:
parent
95b80accc9
commit
cbd030a379
@ -238,12 +238,14 @@ class DataEntryFlowDialog extends LitElement {
|
|||||||
""
|
""
|
||||||
: html`
|
: html`
|
||||||
<div class="dialog-actions">
|
<div class="dialog-actions">
|
||||||
${this._step
|
${["form", "menu", "external"].includes(
|
||||||
|
this._step?.type as any
|
||||||
|
)
|
||||||
? html`
|
? html`
|
||||||
<a
|
<a
|
||||||
href=${documentationUrl(
|
href=${documentationUrl(
|
||||||
this.hass,
|
this.hass,
|
||||||
`/integrations/${this._step.handler}`
|
`/integrations/${this._step!.handler}`
|
||||||
)}
|
)}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noreferrer noopener"
|
rel="noreferrer noopener"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user