mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-21 08:16:36 +00:00
Use "No traces found" automation translation in ha-script-trace (#23010)
This commit is contained in:
parent
adb22abd7d
commit
f9701b2363
@ -209,7 +209,11 @@ export class HaScriptTrace extends LitElement {
|
|||||||
${this._traces === undefined
|
${this._traces === undefined
|
||||||
? html`<div class="container">Loading…</div>`
|
? html`<div class="container">Loading…</div>`
|
||||||
: this._traces.length === 0
|
: this._traces.length === 0
|
||||||
? html`<div class="container">No traces found</div>`
|
? html`<div class="container">
|
||||||
|
${this.hass!.localize(
|
||||||
|
"ui.panel.config.automation.trace.no_traces_found"
|
||||||
|
)}
|
||||||
|
</div>`
|
||||||
: this._trace === undefined
|
: this._trace === undefined
|
||||||
? ""
|
? ""
|
||||||
: html`
|
: html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user