diff options
author | Idan Amit <ia096e@intl.att.com> | 2018-05-21 16:09:35 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-05-21 17:21:15 +0000 |
commit | f1039ca450c906389099e22b37febf0a73044490 (patch) | |
tree | c87dbb0dd603b959846208c58125f9ee97b147be /catalog-ui/src/app/ng2/app.module.ts | |
parent | 06681f9451fd5d834b9e0b96ca000c8e2078de25 (diff) |
fixed SDC UI loading issues
Fixed the API loading issues in slow network environments
Change-Id: I1b8cb779d769c80d41a2303595a0b78dab46f192
Issue-ID: SDC-1347
Signed-off-by: Idan Amit <ia096e@intl.att.com>
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() + ]); } } |