#572 more unit tests for activiti form components

This commit is contained in:
Denys Vuika
2016-08-16 16:59:35 +01:00
parent c55e976f67
commit 5b32dce412
7 changed files with 331 additions and 43 deletions

View File

@@ -34,10 +34,16 @@ export class WidgetComponent implements AfterViewInit {
}
ngAfterViewInit() {
this.setupMaterialComponents();
}
setupMaterialComponents(): boolean {
// workaround for MDL issues with dynamic components
if (componentHandler) {
componentHandler.upgradeAllRegistered();
return true;
}
return false;
}
}