diff --git a/utils/modal/full-screen-modal/full-screen-modal.component.ts b/utils/modal/full-screen-modal/full-screen-modal.component.ts index 3ec4e7ca..59fb76b9 100644 --- a/utils/modal/full-screen-modal/full-screen-modal.component.ts +++ b/utils/modal/full-screen-modal/full-screen-modal.component.ts @@ -41,6 +41,8 @@ export class FullScreenModalComponent implements OnInit { title: string = null; @Output() okEmitter: EventEmitter = new EventEmitter(); + @Output() + cancelEmitter: EventEmitter = new EventEmitter(); opened: boolean = false; private readonly element: any; @@ -69,6 +71,7 @@ export class FullScreenModalComponent implements OnInit { if(typeof document !== "undefined") { this.opened = false; document.getElementsByTagName('html')[0].classList.remove('fs-modal-open'); + this.cancelEmitter.emit(); } }