Skip to content

Commit

Permalink
review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
nreese committed Nov 18, 2019
1 parent c67cb22 commit e554953
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export class FilterEditor extends Component {
}

_loadIndexPatterns = async () => {
const indexPatternIds = this.props.layer.getIndexPatternIds();
// Filter only effects source so only load source indices.
const indexPatternIds = this.props.layer.getSource().getIndexPatternIds();
const indexPatterns = [];
const getIndexPatternPromises = indexPatternIds.map(async indexPatternId => {
try {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ export class GeojsonFileSource extends AbstractVectorSource {
geoField,
filterByMapBounds
}, inspectorAdapters);
// addAndViewSource is AddLayerPanel._viewLayer
addAndViewSource(source);
importSuccessHandler(indexResponses);
}
Expand Down

0 comments on commit e554953

Please sign in to comment.