summaryrefslogtreecommitdiffstats
path: root/public/src/app/error-dialog/error-dialog.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'public/src/app/error-dialog/error-dialog.component.ts')
-rw-r--r--public/src/app/error-dialog/error-dialog.component.ts17
1 files changed, 17 insertions, 0 deletions
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;
+ }
+}