Skip to content

Commit

Permalink
chore: use folio as fallback for iiif page param
Browse files Browse the repository at this point in the history
  • Loading branch information
katharinawuensche committed Aug 20, 2024
1 parent 18e02be commit 81ffa3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/reference-button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function getLink(ref: Reference) {
path: localePath("/iiif"),
query: {
book: regexMatch[1] ?? "",
page: regexMatch[2] ?? "",
page: regexMatch[2] !== "" ? regexMatch[2] : ref.folio,
},
};
}
Expand Down

0 comments on commit 81ffa3c

Please sign in to comment.