Skip to content
This repository has been archived by the owner on Jan 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #381 from Kitware/fix-geojson-inspect
Browse files Browse the repository at this point in the history
Fix geojson inspect
  • Loading branch information
dorukozturk authored Nov 28, 2016
2 parents 10fd3f4 + 407c6d0 commit bf000b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web_external/js/views/widgets/WMSFeatureInfoWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ minerva.views.WmsFeatureInfoWidget = minerva.View.extend({
callInfo: function (event) {
// Query layers with given coordinates
var displayedDatasets = _.chain(this.parentView.collection.models)
.filter(function (set) { return set.get('displayed'); })
.filter(function (set) { return set.get('displayed') && set.getDatasetType() !== 'geojson'; })
.map(function (dataset) { return dataset.get('_id'); })
.value();

Expand Down

0 comments on commit bf000b3

Please sign in to comment.