diff --git a/utils/dataTransfer/transferData.component.ts b/utils/dataTransfer/transferData.component.ts index e0ede1ee..699a5bd0 100644 --- a/utils/dataTransfer/transferData.component.ts +++ b/utils/dataTransfer/transferData.component.ts @@ -60,7 +60,7 @@ export class EGIDataTransferComponent { } ngAfterViewInit() { - if(this.isOpen){ + if(this.isOpen && typeof document !== 'undefined'){ this.open(); } }