Merge pull request #12116 from home-assistant/docs-only-form

This commit is contained in:
Zack Barett 2022-03-23 17:40:40 -05:00 committed by GitHub
commit 420e8fe1ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -238,12 +238,14 @@ class DataEntryFlowDialog extends LitElement {
""
: html`
<div class="dialog-actions">
${this._step
${["form", "menu", "external"].includes(
this._step?.type as any
)
? html`
<a
href=${documentationUrl(
this.hass,
`/integrations/${this._step.handler}`
`/integrations/${this._step!.handler}`
)}
target="_blank"
rel="noreferrer noopener"