aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/modal/custom-modal.component.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/modal/custom-modal.component.ts')
-rw-r--r--client/src/app/modal/custom-modal.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/client/src/app/modal/custom-modal.component.ts b/client/src/app/modal/custom-modal.component.ts
index a98579085..559230e04 100644
--- a/client/src/app/modal/custom-modal.component.ts
+++ b/client/src/app/modal/custom-modal.component.ts
@@ -22,10 +22,10 @@ export class CustomModalComponent {
22 ) { } 22 ) { }
23 23
24 show (input: { 24 show (input: {
25 title: string, 25 title: string
26 content: string, 26 content: string
27 close?: boolean, 27 close?: boolean
28 cancel?: { value: string, action?: () => void }, 28 cancel?: { value: string, action?: () => void }
29 confirm?: { value: string, action?: () => void } 29 confirm?: { value: string, action?: () => void }
30 }) { 30 }) {
31 if (this.modalRef instanceof NgbModalRef && this.modalService.hasOpenModals()) { 31 if (this.modalRef instanceof NgbModalRef && this.modalService.hasOpenModals()) {