mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
fix share test and search condition (#5401)
This commit is contained in:
@@ -183,7 +183,7 @@ export class SearchControlComponent implements OnDestroy {
|
||||
}
|
||||
|
||||
private isListElement($event: any): boolean {
|
||||
return $event.relatedTarget && $event.relatedTarget.children[0].className === 'mat-list-item-content';
|
||||
return $event.relatedTarget && $event.relatedTarget.children[0] && $event.relatedTarget.children[0].className === 'mat-list-item-content';
|
||||
}
|
||||
|
||||
private getNextElementSibling(node: Element): Element {
|
||||
|
Reference in New Issue
Block a user