We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0b86416 commit 81df4b5Copy full SHA for 81df4b5
1 file changed
src/app/item-page/mirador-viewer/mirador-viewer.component.ts
@@ -101,7 +101,7 @@ export class MiradorViewerComponent implements OnInit {
101
viewerPath += `&canvasId=${this.canvasId}`;
102
}
103
if (this.canvasIndex) {
104
- viewerPath += `&canvasIndex=${this.canvasIndex}`;
+ viewerPath += `&canvasIndex=${parseInt(this.canvasIndex, 10) - 1}`;
105
106
if (environment.mirador.enableDownloadPlugin) {
107
viewerPath += '&enableDownloadPlugin=true';
0 commit comments