summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts')
-rw-r--r--ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts19
1 files changed, 19 insertions, 0 deletions
diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts
new file mode 100644
index 00000000..7efb9929
--- /dev/null
+++ b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/ngapp/src/app/modals/error-modal/error-modal.component.ts
@@ -0,0 +1,19 @@
+import { Component, OnInit, Input } from '@angular/core';
+import { NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
+
+@Component({
+ selector: 'app-error-modal',
+ templateUrl: './error-modal.component.html',
+ styleUrls: ['./error-modal.component.scss']
+})
+export class ErrorModalComponent implements OnInit {
+
+ @Input() message: string;
+
+ constructor(public activeModal: NgbActiveModal) { }
+
+
+ ngOnInit() {
+ }
+
+} \ No newline at end of file