Check for MDL-related componentHandler not being present

- Same as in document library, preparing for tests
This commit is contained in:
Will Abson
2016-06-09 18:31:57 +01:00
parent e67d043a54
commit 8021322a30

View File

@@ -82,7 +82,9 @@ export class AlfrescoSearchControlComponent implements AfterViewInit {
} }
ngAfterViewInit() { ngAfterViewInit() {
componentHandler.upgradeAllRegistered(); if (componentHandler) {
componentHandler.upgradeAllRegistered();
}
} }
getTextFieldClassName(): string { getTextFieldClassName(): string {