@canopy-iiif/app 1.4.0 → 1.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
package/ui/dist/server.mjs
CHANGED
|
@@ -3258,8 +3258,6 @@ function normalizeCustomPoint(child, index) {
|
|
|
3258
3258
|
const summary = props.summary || props.description || "";
|
|
3259
3259
|
const href = props.href || props.link || "";
|
|
3260
3260
|
const thumbnail = props.thumbnail || props.image || "";
|
|
3261
|
-
const thumbnailWidth = normalizeNumber(props.thumbnailWidth || props.width);
|
|
3262
|
-
const thumbnailHeight = normalizeNumber(props.thumbnailHeight || props.height);
|
|
3263
3261
|
const detailsHtml = renderDetailsHtml(props.children);
|
|
3264
3262
|
return {
|
|
3265
3263
|
id,
|
|
@@ -3267,8 +3265,6 @@ function normalizeCustomPoint(child, index) {
|
|
|
3267
3265
|
summary,
|
|
3268
3266
|
href,
|
|
3269
3267
|
thumbnail,
|
|
3270
|
-
thumbnailWidth: Number.isFinite(thumbnailWidth) ? thumbnailWidth : void 0,
|
|
3271
|
-
thumbnailHeight: Number.isFinite(thumbnailHeight) ? thumbnailHeight : void 0,
|
|
3272
3268
|
lat: coords.lat,
|
|
3273
3269
|
lng: coords.lng,
|
|
3274
3270
|
detailsHtml,
|