Commit ed2eee96 authored by ext.sopra.ncastejon's avatar ext.sopra.ncastejon
Browse files

Fix issue #179 - break download page when no projections for WFS service.

parent 09deae39
......@@ -103,7 +103,7 @@ export class ResourceDownloadItemComponent implements OnInit {
if (this.resource.type === linkFormats.wms) {
this.projectionList = this.transformObjectToArray(this.resource.metadataLink.bbox_by_projection);
this.selectedProjection = this.projectionList[0];
} else if (this.resource.type === linkFormats.wfs) {
} else if (this.resource.type === linkFormats.wfs && this.resource.metadataLink.projections) {
this.resource.metadataLink.projections.forEach((key) => {
this.projectionList.push({
name: key,
......
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