From 9b2ceb347a3371819fcad6bbe2268203afecaf4e Mon Sep 17 00:00:00 2001 From: "Stone, Avi (as206k)" Date: Thu, 12 Apr 2018 16:36:39 +0300 Subject: DCAE-D fe initial commit DCAE-D fe initial commit Change-Id: Ica8ccb7c7ef769c969664d1e168d205eb9fc67f2 Issue-ID: SDC-1218 Signed-off-by: Stone, Avi (as206k) --- public/src/app/error-dialog/error-dialog.component.ts | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 public/src/app/error-dialog/error-dialog.component.ts (limited to 'public/src/app/error-dialog/error-dialog.component.ts') diff --git a/public/src/app/error-dialog/error-dialog.component.ts b/public/src/app/error-dialog/error-dialog.component.ts new file mode 100644 index 0000000..3e7bfe0 --- /dev/null +++ b/public/src/app/error-dialog/error-dialog.component.ts @@ -0,0 +1,17 @@ +import { Component, OnInit } from '@angular/core'; +import { Store } from '../store/store'; + +@Component({ + selector: 'app-error-dialog', + templateUrl: './error-dialog.component.html', + styleUrls: ['./error-dialog.component.scss'] +}) +export class ErrorDialogComponent implements OnInit { + constructor(public store: Store) {} + + ngOnInit() {} + + closeDialog() { + this.store.displayErrorDialog = false; + } +} -- cgit 1.2.3-korg