diff options
author | Dan Timoney <dtimoney@att.com> | 2019-06-25 18:57:41 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-06-25 18:57:41 +0000 |
commit | ed124819a2c928d895ba275d51eadc97afdf5a09 (patch) | |
tree | 9e4d2180c54c968f1d2093731a892c70c2f17353 /cds-ui/client/src/app/app.component.ts | |
parent | eba8ca3300290460f3df5e984b6de92d06de222f (diff) | |
parent | 3bc6917ecd7c3fb22c8a65d5279179fc2bb4d6aa (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.ts | 11 |
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; + }) } } |