mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-30 20:56:36 +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 {
|
||||
return html`
|
||||
<app-route .route="${this.route}" pattern="/:view" data="${
|
||||
<app-route .route=${this.route} pattern="/:view" .data=${
|
||||
this._routeData
|
||||
}" @data-changed="${this._routeDataChanged}"></app-route>
|
||||
} @data-changed=${this._routeDataChanged}></app-route>
|
||||
<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,
|
||||
})}" fixed condenses>
|
||||
})} fixed condenses>
|
||||
${
|
||||
this._editMode
|
||||
? html`
|
||||
|
Loading…
x
Reference in New Issue
Block a user