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.
1 parent 0951140 commit 2bc6b32Copy full SHA for 2bc6b32
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