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