mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-26 02:36:37 +00:00
Fix has-secondary attribute (#23187)
This commit is contained in:
parent
0b7af715a8
commit
ea5bf17780
@ -19,7 +19,8 @@ class HaNavigationList extends LitElement {
|
|||||||
|
|
||||||
@property({ attribute: false }) public pages!: PageNavigation[];
|
@property({ attribute: false }) public pages!: PageNavigation[];
|
||||||
|
|
||||||
@property({ attribute: false, type: Boolean }) public hasSecondary = false;
|
@property({ attribute: "has-secondary", type: Boolean })
|
||||||
|
public hasSecondary = false;
|
||||||
|
|
||||||
@property() public label?: string;
|
@property() public label?: string;
|
||||||
|
|
||||||
|
@ -139,7 +139,7 @@ class HaConfigSystemNavigation extends LitElement {
|
|||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.narrow=${this.narrow}
|
.narrow=${this.narrow}
|
||||||
.pages=${pages}
|
.pages=${pages}
|
||||||
hasSecondary
|
has-secondary
|
||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
"ui.panel.config.dashboard.system.main"
|
"ui.panel.config.dashboard.system.main"
|
||||||
)}
|
)}
|
||||||
|
@ -57,7 +57,7 @@ class HaConfigNavigation extends LitElement {
|
|||||||
}));
|
}));
|
||||||
return html`
|
return html`
|
||||||
<ha-navigation-list
|
<ha-navigation-list
|
||||||
hasSecondary
|
has-secondary
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
.narrow=${this.narrow}
|
.narrow=${this.narrow}
|
||||||
.pages=${pages}
|
.pages=${pages}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user