Skip to content

Commit

Permalink
Fixes #1268: WNS catalog fails to add layer with only one SRS supported
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarto committed Nov 16, 2016
1 parent c004980 commit d5f38b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/client/utils/CatalogUtils.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ const converters = {
references: [{
type: "OGC:WMS",
url: options.url,
SRS: record.SRS || [],
SRS: (record.SRS && (isArray(record.SRS) ? record.SRS : [record.SRS])) || [],
params: {
name: record.Name
}
Expand Down

0 comments on commit d5f38b4

Please sign in to comment.