mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-24 13:27:22 +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-toolbar>
|
||||
<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-header>
|
||||
|
||||
@ -142,11 +142,6 @@ class HaAutomationEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
||||
observer: "creatingNewChanged",
|
||||
},
|
||||
|
||||
name: {
|
||||
type: String,
|
||||
computed: "computeName(automation, localize)",
|
||||
},
|
||||
|
||||
isWide: {
|
||||
type: Boolean,
|
||||
observer: "_updateComponent",
|
||||
|
@ -86,7 +86,7 @@ class HaScriptEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
||||
<app-header slot="header" fixed="">
|
||||
<app-toolbar>
|
||||
<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-header>
|
||||
<div class="content">
|
||||
@ -140,11 +140,6 @@ class HaScriptEditor extends LocalizeMixin(NavigateMixin(PolymerElement)) {
|
||||
observer: "creatingNewChanged",
|
||||
},
|
||||
|
||||
name: {
|
||||
type: String,
|
||||
computed: "computeName(script)",
|
||||
},
|
||||
|
||||
isWide: {
|
||||
type: Boolean,
|
||||
observer: "_updateComponent",
|
||||
|
Loading…
x
Reference in New Issue
Block a user