#572 unit tests and code fixes

This commit is contained in:
Denys Vuika
2016-08-18 11:21:50 +01:00
parent 77faadbf79
commit 795521f572
6 changed files with 400 additions and 15 deletions

View File

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