mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-18 06:46:35 +00:00
Fix automation editor (#1804)
This commit is contained in:
parent
252f0692c8
commit
dc1d8366a5
@ -86,7 +86,7 @@ class HaAutomationEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
|||||||
<app-header slot="header" fixed="">
|
<app-header slot="header" fixed="">
|
||||||
<app-toolbar>
|
<app-toolbar>
|
||||||
<paper-icon-button icon="hass:arrow-left" on-click="backTapped"></paper-icon-button>
|
<paper-icon-button icon="hass:arrow-left" on-click="backTapped"></paper-icon-button>
|
||||||
<div main-title="">[[name]]</div>
|
<div main-title="">[[computeName(automation, localize)]]</div>
|
||||||
</app-toolbar>
|
</app-toolbar>
|
||||||
</app-header>
|
</app-header>
|
||||||
|
|
||||||
@ -142,11 +142,6 @@ class HaAutomationEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
|||||||
observer: "creatingNewChanged",
|
observer: "creatingNewChanged",
|
||||||
},
|
},
|
||||||
|
|
||||||
name: {
|
|
||||||
type: String,
|
|
||||||
computed: "computeName(automation, localize)",
|
|
||||||
},
|
|
||||||
|
|
||||||
isWide: {
|
isWide: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
observer: "_updateComponent",
|
observer: "_updateComponent",
|
||||||
|
@ -86,7 +86,7 @@ class HaScriptEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
|||||||
<app-header slot="header" fixed="">
|
<app-header slot="header" fixed="">
|
||||||
<app-toolbar>
|
<app-toolbar>
|
||||||
<paper-icon-button icon="hass:arrow-left" on-click="backTapped"></paper-icon-button>
|
<paper-icon-button icon="hass:arrow-left" on-click="backTapped"></paper-icon-button>
|
||||||
<div main-title="">Script [[name]]</div>
|
<div main-title="">Script [[computeName(script)]]</div>
|
||||||
</app-toolbar>
|
</app-toolbar>
|
||||||
</app-header>
|
</app-header>
|
||||||
<div class="content">
|
<div class="content">
|
||||||
@ -140,11 +140,6 @@ class HaScriptEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
|||||||
observer: "creatingNewChanged",
|
observer: "creatingNewChanged",
|
||||||
},
|
},
|
||||||
|
|
||||||
name: {
|
|
||||||
type: String,
|
|
||||||
computed: "computeName(script)",
|
|
||||||
},
|
|
||||||
|
|
||||||
isWide: {
|
isWide: {
|
||||||
type: Boolean,
|
type: Boolean,
|
||||||
observer: "_updateComponent",
|
observer: "_updateComponent",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user