Commit 4b09ea94 authored by Mark Harding's avatar Mark Harding

(fix): if no event then bypass stopping propogation

No related merge requests found
Pipeline #114483139 failed with stages
in 6 minutes and 36 seconds
......@@ -97,8 +97,10 @@ export class ActivityContentComponent {
}
onModalRequested(event: MouseEvent) {
event.preventDefault();
event.stopPropagation();
if (event) {
event.preventDefault();
event.stopPropagation();
}
this.entity.modal_source_url = this.router.url;
......
Please register or to comment