.subscribe(() => this.updateChildLabels(window.location.pathname))
this.hasIcons = this.menuEntries.some(
- e => e.children && e.children.some(c => !!c.iconName)
+ e => e.children?.some(c => !!c.iconName)
)
}
this.modalService.open(this.modal, {
centered: true,
- beforeDismiss: async () => {
+ beforeDismiss: () => {
this.onModalDismiss()
+
return true
}
})