summaryrefslogtreecommitdiffstats
path: root/public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts')
-rw-r--r--public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts18
1 files changed, 18 insertions, 0 deletions
diff --git a/public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts b/public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts
new file mode 100644
index 0000000..23b6cee
--- /dev/null
+++ b/public/src/app/rule-engine/confirm-popup/confirm-popup.component.ts
@@ -0,0 +1,18 @@
+import { Component, Inject } from '@angular/core';
+import { MatDialogRef, MAT_DIALOG_DATA } from '@angular/material';
+
+@Component({
+ selector: 'app-confirm-popup',
+ templateUrl: './confirm-popup.component.html',
+ styleUrls: ['./confirm-popup.component.scss']
+})
+export class ConfirmPopupComponent {
+ constructor(
+ public dialogRef: MatDialogRef<ConfirmPopupComponent>,
+ @Inject(MAT_DIALOG_DATA) public data: any
+ ) {}
+
+ close(flag) {
+ this.dialogRef.close(flag);
+ }
+}