mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-31 13:07:49 +00:00
Set data as property. (#5263)
This commit is contained in:
parent
a8d21c6112
commit
16cadd53cf
@ -84,13 +84,13 @@ class HUIRoot extends LitElement {
|
|||||||
|
|
||||||
protected render(): TemplateResult {
|
protected render(): TemplateResult {
|
||||||
return html`
|
return html`
|
||||||
<app-route .route="${this.route}" pattern="/:view" data="${
|
<app-route .route=${this.route} pattern="/:view" .data=${
|
||||||
this._routeData
|
this._routeData
|
||||||
}" @data-changed="${this._routeDataChanged}"></app-route>
|
} @data-changed=${this._routeDataChanged}></app-route>
|
||||||
<ha-app-layout id="layout">
|
<ha-app-layout id="layout">
|
||||||
<app-header slot="header" effects="waterfall" class="${classMap({
|
<app-header slot="header" effects="waterfall" class=${classMap({
|
||||||
"edit-mode": this._editMode,
|
"edit-mode": this._editMode,
|
||||||
})}" fixed condenses>
|
})} fixed condenses>
|
||||||
${
|
${
|
||||||
this._editMode
|
this._editMode
|
||||||
? html`
|
? html`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user