commit | bf4e8401ad24c06f51a07032b7acfa29e3d9d8e1 | [log] [tgz] |
---|---|---|
author | Matteo Scandolo <teo@opennetworking.org> | Mon Jun 24 12:22:49 2019 -0700 |
committer | Matteo Scandolo <teo@opennetworking.org> | Mon Jun 24 14:29:04 2019 -0700 |
tree | 5fc268fa71ffb1120c87c6c08824686e61372fc8 | |
parent | b310f3c80024217f3098cbf5f5549bda7a98d091 [diff] |
[SEBA-747] Upgraded loader to show real-time progress istead of using a time-out Change-Id: Iafea32e3b15461dc8b6859f0e4b1813150e362d5
diff --git a/src/app/datasources/rest/modeldefs.rest.ts b/src/app/datasources/rest/modeldefs.rest.ts index 078eede..c354afe 100644 --- a/src/app/datasources/rest/modeldefs.rest.ts +++ b/src/app/datasources/rest/modeldefs.rest.ts
@@ -54,7 +54,7 @@ public get(): IPromise<IXosModeldef[]> { const d = this.$q.defer(); - this.$http.get(`${this.AppConfig.apiEndpoint}/modeldefs`, {timeout: 10 * 1000}) + this.$http.get(`${this.AppConfig.apiEndpoint}/modeldefs`) .then((res: any) => { d.resolve(res.data.items); })