mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 17:26:42 +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, type: Boolean }) public hasSecondary = false;
|
||||
@property({ attribute: "has-secondary", type: Boolean })
|
||||
public hasSecondary = false;
|
||||
|
||||
@property() public label?: string;
|
||||
|
||||
|
@ -139,7 +139,7 @@ class HaConfigSystemNavigation extends LitElement {
|
||||
.hass=${this.hass}
|
||||
.narrow=${this.narrow}
|
||||
.pages=${pages}
|
||||
hasSecondary
|
||||
has-secondary
|
||||
.label=${this.hass.localize(
|
||||
"ui.panel.config.dashboard.system.main"
|
||||
)}
|
||||
|
@ -57,7 +57,7 @@ class HaConfigNavigation extends LitElement {
|
||||
}));
|
||||
return html`
|
||||
<ha-navigation-list
|
||||
hasSecondary
|
||||
has-secondary
|
||||
.hass=${this.hass}
|
||||
.narrow=${this.narrow}
|
||||
.pages=${pages}
|
||||
|
Loading…
x
Reference in New Issue
Block a user