mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
Fix automation trace link (#13563)
This commit is contained in:
parent
320d8e6190
commit
93e7927686
@ -144,15 +144,9 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) {
|
||||
<ha-svg-icon slot="graphic" .path=${mdiPlay}></ha-svg-icon>
|
||||
</mwc-list-item>
|
||||
|
||||
${stateObj
|
||||
? html`<a
|
||||
href="/config/automation/trace/${this._config
|
||||
? this._config.id
|
||||
: ""}"
|
||||
target="_blank"
|
||||
.disabled=${!stateObj}
|
||||
>
|
||||
<mwc-list-item graphic="icon" .disabled=${!stateObj}>
|
||||
${stateObj && this._config
|
||||
? html`<a href="/config/automation/trace/${this._config.id}">
|
||||
<mwc-list-item graphic="icon">
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.editor.show_trace"
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user