summaryrefslogtreecommitdiffstats
path: root/cds-ui/client/src/app/app.component.ts
diff options
context:
space:
mode:
authorArundathi Patil <arundpil@in.ibm.com>2019-06-21 16:20:00 +0530
committerArundathi Patil <arundpil@in.ibm.com>2019-06-21 16:20:13 +0530
commit3bc6917ecd7c3fb22c8a65d5279179fc2bb4d6aa (patch)
tree701568eb26e38dcc77bcc98da16296f3af0d53f0 /cds-ui/client/src/app/app.component.ts
parentda79303b367ed5d4f12a279a401dee379f38147e (diff)
Replace windows alert with Notification component
Removed windows.alert across files and replaced it with notification component Issue-ID: CCSDK-1381 Change-Id: If521c92544a1639b2fafb07163163844817c1c7a Signed-off-by: Arundathi Patil <arundpil@in.ibm.com>
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;
+ })
}
}