Skip to content

Commit

Permalink
fix(search-results): features-details stays with tool deactivation (#555
Browse files Browse the repository at this point in the history
)
  • Loading branch information
PhilippeLafreniere18 authored and mbarbeau committed Jan 21, 2020
1 parent 04e1beb commit 97c81b5
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,12 @@ export class SearchResultsToolComponent implements OnInit {
this.term = searchTerm;
}
});

for (const res of this.store.entities$.value) {
if (this.store.state.get(res).selected === true) {
this.topPanelState = 'collapsed';
}
}
}
/**
* Try to add a feature to the map when it's being focused
Expand Down

0 comments on commit 97c81b5

Please sign in to comment.