summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-06-25 18:57:41 +0000
committerGerrit Code Review <gerrit@onap.org>2019-06-25 18:57:41 +0000
commited124819a2c928d895ba275d51eadc97afdf5a09 (patch)
tree9e4d2180c54c968f1d2093731a892c70c2f17353 /cds-ui/client/src/app/app.component.ts
parenteba8ca3300290460f3df5e984b6de92d06de222f (diff)
parent3bc6917ecd7c3fb22c8a65d5279179fc2bb4d6aa (diff)
Merge "Replace windows alert with Notification component"
Diffstat (limited to 'cds-ui/client/src/app/app.component.ts')
-rw-r--r--cds-ui/client/src/app/app.component.ts11
1 files changed, 10 insertions, 1 deletions
diff --git a/cds-ui/client/src/app/app.component.ts b/cds-ui/client/src/app/app.component.ts
index 106417958..d6499cc35 100644
--- a/cds-ui/client/src/app/app.component.ts
+++ b/cds-ui/client/src/app/app.component.ts
@@ -23,13 +23,22 @@ import { Router } from '@angular/router';
import { Observable} from 'rxjs';
import { Store } from '@ngrx/store';
+import { LoaderService } from './common/core/services/loader.service';
+
@Component({
selector: 'app-root',
templateUrl: './app.component.html',
styleUrls: ['./app.component.scss']
})
export class AppComponent {
+ loaderStatus: boolean = false;
+ constructor(private router: Router,
+ private loaderService: LoaderService
+ ) {
- constructor(private router: Router) {
+ this.loaderService.subject.subscribe(data=>{
+ console.log(data);
+ this.loaderStatus = data;
+ })
}
}