commit | 2bd11b79bf5e11943b124f88e4e9c5268613ad0d | [log] [tgz] |
---|---|---|
author | Sean Condon <sean.condon@microsemi.com> | Fri Jun 15 08:00:48 2018 +0100 |
committer | Andrea Campanella <andrea@opennetworking.org> | Fri Jun 22 07:15:36 2018 +0000 |
tree | 5dbe945b30439940adb81094706481927083fd36 | |
parent | 667538d4ea0281fa72f534284c3ff85c7415082b [diff] [blame] |
Implemented table building functions Change-Id: Ie4003080b13725561df22de41ec85f8c3f31c794
diff --git a/web/gui2/src/main/webapp/app/fw/layer/loading.service.ts b/web/gui2/src/main/webapp/app/fw/layer/loading.service.ts index 0d03ad6..3e6d48b 100644 --- a/web/gui2/src/main/webapp/app/fw/layer/loading.service.ts +++ b/web/gui2/src/main/webapp/app/fw/layer/loading.service.ts
@@ -33,7 +33,9 @@ * * Provides a mechanism to start/stop the loading animation, center screen. */ -@Injectable() +@Injectable({ + providedIn: 'root', +}) export class LoadingService { images: any[] = []; idx = 0; @@ -127,7 +129,7 @@ } // return true if start() has been called but not stop() - waiting() { + waiting(): boolean { return !!this.wait; }