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

Refresh IIIF tiles if the token service changes

parent e19c7e02
No related branches found
No related tags found
No related merge requests found
...@@ -286,6 +286,10 @@ export class OpenSeadragonViewer extends Component { ...@@ -286,6 +286,10 @@ export class OpenSeadragonViewer extends Component {
return false; return false;
} }
if (infoResponse.tokenServiceId !== prevInfoResponses[index].tokenServiceId) {
return false;
}
if (infoResponse.json['@id'] if (infoResponse.json['@id']
&& infoResponse.json['@id'] === prevInfoResponses[index].json['@id']) { && infoResponse.json['@id'] === prevInfoResponses[index].json['@id']) {
return true; return true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment