mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-28 19:56:42 +00:00
Link to filtered logs (#11816)
This commit is contained in:
parent
aa831a9adf
commit
a43b3b64b3
@ -213,11 +213,11 @@ export class HaIntegrationCard extends LitElement {
|
||||
} else {
|
||||
stateTextExtra = html`
|
||||
<br />
|
||||
<a href="/config/logs"
|
||||
>${this.hass.localize(
|
||||
<a href=${`/config/logs/?filter=${item.domain}`}>
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.check_the_logs"
|
||||
)}</a
|
||||
>
|
||||
)}
|
||||
</a>
|
||||
`;
|
||||
}
|
||||
}
|
||||
|
@ -347,7 +347,7 @@ class ZWaveJSConfigDashboard extends LitElement {
|
||||
} else {
|
||||
stateTextExtra = html`
|
||||
<br />
|
||||
<a href="/config/logs"
|
||||
<a href="/config/logs?filter=zwave_js"
|
||||
>${this.hass.localize(
|
||||
"ui.panel.config.integrations.config_entry.check_the_logs"
|
||||
)}</a
|
||||
|
@ -22,7 +22,7 @@ export class HaConfigLogs extends LitElement {
|
||||
|
||||
@property() public route!: Route;
|
||||
|
||||
@state() private _filter = extractSearchParam("filter") ?? "";
|
||||
@state() private _filter = extractSearchParam("filter") || "";
|
||||
|
||||
@query("system-log-card", true) private systemLog?: SystemLogCard;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user