diff options
Diffstat (limited to 'catalog-ui/src/app/ng2/app.module.ts')
-rw-r--r-- | catalog-ui/src/app/ng2/app.module.ts | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/catalog-ui/src/app/ng2/app.module.ts b/catalog-ui/src/app/ng2/app.module.ts index 194d2e0095..c3cd06043b 100644 --- a/catalog-ui/src/app/ng2/app.module.ts +++ b/catalog-ui/src/app/ng2/app.module.ts @@ -64,8 +64,10 @@ export const upgradeAdapter = new UpgradeAdapter(forwardRef(() => AppModule)); export function configServiceFactory(config:ConfigService) { return () => { - config.loadValidationConfiguration(); - config.loadPluginsConfiguration(); + return Promise.all([ + config.loadValidationConfiguration(), + config.loadPluginsConfiguration() + ]); } } |