Skip to content

Commit

Permalink
Merge pull request #299 from eugenegp/290-direct-link
Browse files Browse the repository at this point in the history
fixed #290 Copy and paste link to image doesn't work
  • Loading branch information
willemarcel authored Mar 31, 2021
2 parents 2736692 + 7bed010 commit 53b0ecf
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 53b0ecf

Please sign in to comment.