Skip to content

Commit

Permalink
lints, re: #4670
Browse files Browse the repository at this point in the history
  • Loading branch information
robgaston committed Jun 18, 2019
1 parent 52961ed commit 3b08e1b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions arches/app/media/js/views/map-layer-manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -382,7 +382,7 @@ define([
'paging-filter': 1
},
success: function(results) {
results.results.aggregations.geo_aggs = results.results.aggregations.geo_aggs.inner.buckets[0];
results.results.aggregations['geo_aggs'] = results.results.aggregations['geo_aggs'].inner.buckets[0];
searchAggregations(results.results.aggregations);
searchResults(results);
}
Expand Down Expand Up @@ -413,7 +413,7 @@ define([
vm.selectedLayerJSON.subscribe(updateMapStyle);
vm.selectedList.subscribe(function(selectedList) {
var selection = null;
var layerList = ko.unwrap(vm.selectedList());
var layerList = ko.unwrap(selectedList);
if (layerList && layerList.length > 0) {
selection = layerList[0];
}
Expand Down

0 comments on commit 3b08e1b

Please sign in to comment.