mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-24 09:46:36 +00:00
Make to full integration card header clickable (#16819)
This commit is contained in:
parent
0442e3e06e
commit
31e4166248
@ -65,28 +65,28 @@ export class HaIntegrationCard extends LitElement {
|
||||
"debug-logging": Boolean(debugLoggingEnabled),
|
||||
})}
|
||||
>
|
||||
<ha-integration-header
|
||||
.hass=${this.hass}
|
||||
.domain=${this.domain}
|
||||
.localizedDomainName=${this.items[0].localized_domain_name}
|
||||
.banner=${state !== "loaded"
|
||||
? this.hass.localize(
|
||||
`ui.panel.config.integrations.config_entry.state.${state}`
|
||||
)
|
||||
: debugLoggingEnabled
|
||||
? this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.debug_logging_enabled"
|
||||
)
|
||||
: undefined}
|
||||
.manifest=${this.manifest}
|
||||
>
|
||||
<a
|
||||
href=${`/config/integrations/integration/${this.domain}`}
|
||||
slot="header-button"
|
||||
<a href=${`/config/integrations/integration/${this.domain}`}>
|
||||
<ha-integration-header
|
||||
.hass=${this.hass}
|
||||
.domain=${this.domain}
|
||||
.localizedDomainName=${this.items[0].localized_domain_name}
|
||||
.banner=${state !== "loaded"
|
||||
? this.hass.localize(
|
||||
`ui.panel.config.integrations.config_entry.state.${state}`
|
||||
)
|
||||
: debugLoggingEnabled
|
||||
? this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.debug_logging_enabled"
|
||||
)
|
||||
: undefined}
|
||||
.manifest=${this.manifest}
|
||||
>
|
||||
<ha-icon-button .path=${mdiCogOutline}></ha-icon-button>
|
||||
</a>
|
||||
</ha-integration-header>
|
||||
<ha-icon-button
|
||||
slot="header-button"
|
||||
.path=${mdiCogOutline}
|
||||
></ha-icon-button>
|
||||
</ha-integration-header>
|
||||
</a>
|
||||
|
||||
${this._renderSingleEntry()}
|
||||
</ha-card>
|
||||
|
Loading…
x
Reference in New Issue
Block a user