Skip to content
Snippets Groups Projects
Unverified Commit a01b939d authored by Michael J. Giarlo's avatar Michael J. Giarlo Committed by GitHub
Browse files

Merge pull request #3456 from ProjectMirador/3437-canvas-grouping

parents c2edb3b3 85b04295
No related branches found
No related tags found
No related merge requests found
......@@ -69,7 +69,7 @@ export class ThumbnailNavigation extends Component {
*/
calculateScaledSize(index) {
const { thumbnailNavigation, canvasGroupings, position } = this.props;
const canvases = canvasGroupings[index];
const canvases = canvasGroupings[index] || [];
const world = new CanvasWorld(canvases);
const bounds = world.worldBounds();
switch (position) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment