mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +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),
|
"debug-logging": Boolean(debugLoggingEnabled),
|
||||||
})}
|
})}
|
||||||
>
|
>
|
||||||
<ha-integration-header
|
<a href=${`/config/integrations/integration/${this.domain}`}>
|
||||||
.hass=${this.hass}
|
<ha-integration-header
|
||||||
.domain=${this.domain}
|
.hass=${this.hass}
|
||||||
.localizedDomainName=${this.items[0].localized_domain_name}
|
.domain=${this.domain}
|
||||||
.banner=${state !== "loaded"
|
.localizedDomainName=${this.items[0].localized_domain_name}
|
||||||
? this.hass.localize(
|
.banner=${state !== "loaded"
|
||||||
`ui.panel.config.integrations.config_entry.state.${state}`
|
? this.hass.localize(
|
||||||
)
|
`ui.panel.config.integrations.config_entry.state.${state}`
|
||||||
: debugLoggingEnabled
|
)
|
||||||
? this.hass.localize(
|
: debugLoggingEnabled
|
||||||
"ui.panel.config.integrations.config_entry.debug_logging_enabled"
|
? this.hass.localize(
|
||||||
)
|
"ui.panel.config.integrations.config_entry.debug_logging_enabled"
|
||||||
: undefined}
|
)
|
||||||
.manifest=${this.manifest}
|
: undefined}
|
||||||
>
|
.manifest=${this.manifest}
|
||||||
<a
|
|
||||||
href=${`/config/integrations/integration/${this.domain}`}
|
|
||||||
slot="header-button"
|
|
||||||
>
|
>
|
||||||
<ha-icon-button .path=${mdiCogOutline}></ha-icon-button>
|
<ha-icon-button
|
||||||
</a>
|
slot="header-button"
|
||||||
</ha-integration-header>
|
.path=${mdiCogOutline}
|
||||||
|
></ha-icon-button>
|
||||||
|
</ha-integration-header>
|
||||||
|
</a>
|
||||||
|
|
||||||
${this._renderSingleEntry()}
|
${this._renderSingleEntry()}
|
||||||
</ha-card>
|
</ha-card>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user