mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +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)
|
||||
? html`<mwc-list-item
|
||||
graphic="icon"
|
||||
@click=${this._toggleReOrderMode}
|
||||
.disabled=${this._mode !== "gui"}
|
||||
.disabled=${this._mode === "yaml"}
|
||||
>
|
||||
${this.hass.localize("ui.panel.config.automation.editor.re_order")}
|
||||
${this.hass.localize(
|
||||
"ui.panel.config.automation.editor.re_order"
|
||||
)}
|
||||
<ha-svg-icon slot="graphic" .path=${mdiSort}></ha-svg-icon>
|
||||
</mwc-list-item>
|
||||
</mwc-list-item>`
|
||||
: ""}
|
||||
|
||||
<mwc-list-item
|
||||
.disabled=${!this.automationId}
|
||||
|
Loading…
x
Reference in New Issue
Block a user