mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Check for MDL-related componentHandler not being present
- Same as in document library, preparing for tests
This commit is contained in:
@@ -82,7 +82,9 @@ export class AlfrescoSearchControlComponent implements AfterViewInit {
|
||||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
componentHandler.upgradeAllRegistered();
|
||||
if (componentHandler) {
|
||||
componentHandler.upgradeAllRegistered();
|
||||
}
|
||||
}
|
||||
|
||||
getTextFieldClassName(): string {
|
||||
|
Reference in New Issue
Block a user