forked from MapComplete/MapComplete
Fix: hotfix: projectiontype might be not defined, this crashes validation
This commit is contained in:
parent
09156dfba1
commit
d2c63853d6
1 changed files with 1 additions and 1 deletions
|
@ -97,7 +97,7 @@ export class ImageUploadManager {
|
|||
}
|
||||
|
||||
const tags = await ExifReader.load(file)
|
||||
if (tags.ProjectionType.value === "cylindrical") {
|
||||
if (tags.ProjectionType?.value === "cylindrical") {
|
||||
return {
|
||||
error: new Translation({
|
||||
en: "Cylindrical images (typically created by a Panorama-app) are not supported",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue