mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 10:16:46 +00:00
Remove re order mode for blueprint automation editor (#13637)
This commit is contained in:
parent
b553a3fd92
commit
57c5c1c191
@ -216,15 +216,18 @@ export class HaAutomationEditor extends KeyboardShortcutMixin(LitElement) {
|
|||||||
</mwc-list-item>
|
</mwc-list-item>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
|
${this._config && !("use_blueprint" in this._config)
|
||||||
<mwc-list-item
|
? html`<mwc-list-item
|
||||||
graphic="icon"
|
graphic="icon"
|
||||||
@click=${this._toggleReOrderMode}
|
@click=${this._toggleReOrderMode}
|
||||||
.disabled=${this._mode !== "gui"}
|
.disabled=${this._mode === "yaml"}
|
||||||
>
|
>
|
||||||
${this.hass.localize("ui.panel.config.automation.editor.re_order")}
|
${this.hass.localize(
|
||||||
<ha-svg-icon slot="graphic" .path=${mdiSort}></ha-svg-icon>
|
"ui.panel.config.automation.editor.re_order"
|
||||||
</mwc-list-item>
|
)}
|
||||||
|
<ha-svg-icon slot="graphic" .path=${mdiSort}></ha-svg-icon>
|
||||||
|
</mwc-list-item>`
|
||||||
|
: ""}
|
||||||
|
|
||||||
<mwc-list-item
|
<mwc-list-item
|
||||||
.disabled=${!this.automationId}
|
.disabled=${!this.automationId}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user