Conditionally add extra divider in integration card overflow menu (#13468)

This commit is contained in:
Franck Nijhof 2022-08-24 15:00:13 +02:00 committed by GitHub
parent ca91f71d2e
commit 89c6fa7383
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,9 +367,12 @@ export class HaIntegrationCard extends LitElement {
</mwc-list-item> </mwc-list-item>
</a>` </a>`
: ""} : ""}
${this.manifest &&
<li divider role="separator"></li> (this.manifest.is_built_in ||
this.manifest.issue_tracker ||
this.manifest.documentation)
? html`<li divider role="separator"></li>`
: ""}
${this.manifest ${this.manifest
? html` <a ? html` <a
href=${this.manifest.is_built_in href=${this.manifest.is_built_in