Commit 423c9d4a authored by Aleksandr Ivanov's avatar Aleksandr Ivanov

RIHAKB-823 - fixed refresh after modal window close.

parent 662524b1
......@@ -87,13 +87,13 @@ export class ProducerEditRelationsComponent implements OnInit, CanDeactivateModa
const observer = this.modalService.confirm(CONSTANTS.CLOSE_DIALOG_WARNING);
observer.subscribe(confirmed => {
if (confirmed) {
this.modalService.dismissActiveModal();
this.modalService.closeActiveModal();
}
});
return observer;
}
this.modalService.dismissActiveModal();
this.modalService.closeActiveModal();
return true;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment