Skip to content
Snippets Groups Projects
Commit ac6f4bfe authored by Chris Beer's avatar Chris Beer
Browse files

If the IIIF info response is already in the store, there's no need to request it again

parent f8e06ee8
Branches
Tags
No related merge requests found
...@@ -24,7 +24,7 @@ class WindowViewer extends Component { ...@@ -24,7 +24,7 @@ class WindowViewer extends Component {
*/ */
componentDidMount() { componentDidMount() {
const { fetchInfoResponse } = this.props; const { fetchInfoResponse } = this.props;
fetchInfoResponse(this.imageInformationUri()); !this.infoResponseIsInStore() && fetchInfoResponse(this.imageInformationUri());
} }
/** /**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment