Merge branch 'monitor-production' into develop
This commit is contained in:
commit
31d52de0e8
|
@ -157,7 +157,7 @@ export class AlertModal implements OnInit, AfterViewInit, OnDestroy {
|
|||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
if(this.element) {
|
||||
if(this.element && typeof document !== "undefined") {
|
||||
this.subscriptions.push(UIkit.util.on(document, 'hide', '#' + this.id, () => {
|
||||
this.cancelOutput.emit(true);
|
||||
}));
|
||||
|
|
Loading…
Reference in New Issue