Skip to content

Commit

Permalink
fixed hotosm#290 Copy and paste link to image doesn't work
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenegp committed Mar 17, 2020
1 parent 2736692 commit ecde049
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/results_pane.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export default createReactClass({

render: function() {
var resultsPane = null;
if (this.props.selectedItemId) {
if (this.props.selectedItemId && this.props.results.length) {
this.setupCurrentImage();
var pg = {
total: this.props.results.length,
Expand Down

0 comments on commit ecde049

Please sign in to comment.