Fix has-secondary attribute (#23187)

This commit is contained in:
Paul Bottein 2024-12-06 16:16:33 +01:00 committed by GitHub
parent 0b7af715a8
commit ea5bf17780
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 4 additions and 3 deletions

View File

@ -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;

View File

@ -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"
)}

View File

@ -57,7 +57,7 @@ class HaConfigNavigation extends LitElement {
}));
return html`
<ha-navigation-list
hasSecondary
has-secondary
.hass=${this.hass}
.narrow=${this.narrow}
.pages=${pages}