Make to full integration card header clickable (#16819)

This commit is contained in:
Paul Bottein 2023-06-08 10:42:26 +02:00 committed by GitHub
parent 0442e3e06e
commit 31e4166248
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -65,6 +65,7 @@ export class HaIntegrationCard extends LitElement {
"debug-logging": Boolean(debugLoggingEnabled),
})}
>
<a href=${`/config/integrations/integration/${this.domain}`}>
<ha-integration-header
.hass=${this.hass}
.domain=${this.domain}
@ -80,13 +81,12 @@ export class HaIntegrationCard extends LitElement {
: undefined}
.manifest=${this.manifest}
>
<a
href=${`/config/integrations/integration/${this.domain}`}
<ha-icon-button
slot="header-button"
>
<ha-icon-button .path=${mdiCogOutline}></ha-icon-button>
</a>
.path=${mdiCogOutline}
></ha-icon-button>
</ha-integration-header>
</a>
${this._renderSingleEntry()}
</ha-card>