We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 24fae2f + 2bc6b32 commit 35d7a93Copy full SHA for 35d7a93
projects/coreui/angular/src/lib/sidebar/app-sidebar-nav.component.ts
@@ -77,7 +77,7 @@ export class AppSidebarNavComponent implements OnChanges {
77
}
78
79
public ngOnChanges(changes: SimpleChanges): void {
80
- this.navItemsArray = JSON.parse(JSON.stringify(this.navItems));
+ this.navItemsArray = JSON.parse(JSON.stringify(this.navItems || []));
81
82
83
constructor() { }
0 commit comments