Skip to content

Commit

Permalink
Merge pull request #709 from theduckylittle/fix/allow-zero-layer-queries
Browse files Browse the repository at this point in the history
Regression fix: allow zero-layer queries
  • Loading branch information
klassenjs authored Mar 18, 2022
2 parents 5591ce3 + b052e37 commit 8afefa0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gm3/components/map/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ class Map extends React.Component {
checkQueries(queries) {
for(const query_id in queries) {
const query = queries[query_id];
if(query && query.progress === 'new' && query.layers.length > 0) {
if(query && query.progress === 'new') {
// issue a 'started' modification so the query is
// not run twice.
this.props.store.dispatch(mapActions.startQuery(query_id));
Expand Down

0 comments on commit 8afefa0

Please sign in to comment.