mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 07:16:39 +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>
|
<ha-svg-icon slot="graphic" .path=${mdiPlay}></ha-svg-icon>
|
||||||
</mwc-list-item>
|
</mwc-list-item>
|
||||||
|
|
||||||
${stateObj
|
${stateObj && this._config
|
||||||
? html`<a
|
? html`<a href="/config/automation/trace/${this._config.id}">
|
||||||
href="/config/automation/trace/${this._config
|
<mwc-list-item graphic="icon">
|
||||||
? this._config.id
|
|
||||||
: ""}"
|
|
||||||
target="_blank"
|
|
||||||
.disabled=${!stateObj}
|
|
||||||
>
|
|
||||||
<mwc-list-item graphic="icon" .disabled=${!stateObj}>
|
|
||||||
${this.hass.localize(
|
${this.hass.localize(
|
||||||
"ui.panel.config.automation.editor.show_trace"
|
"ui.panel.config.automation.editor.show_trace"
|
||||||
)}
|
)}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user