Merge remote-tracking branch 'origin/develop' into stats-profile
This commit is contained in:
commit
e168143375
|
@ -122,8 +122,8 @@ export class CommunityService {
|
|||
} else {
|
||||
community.fos = [];
|
||||
}
|
||||
if (resData.advancedConstraint != null) {
|
||||
community.selectionCriteria = resData.advancedConstraint;
|
||||
if (resData.advancedConstraints != null) {
|
||||
community.selectionCriteria = resData.advancedConstraints;
|
||||
} else {
|
||||
community.selectionCriteria = new SelectionCriteria();
|
||||
}
|
||||
|
|
|
@ -60,7 +60,7 @@ export class EGIDataTransferComponent {
|
|||
}
|
||||
|
||||
ngAfterViewInit() {
|
||||
if(this.isOpen){
|
||||
if(this.isOpen && typeof document !== 'undefined'){
|
||||
this.open();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue