forked from MapComplete/MapComplete
UI: don't allow cylindrical images for now, see #2424
This commit is contained in:
parent
10e0262a0d
commit
b9293dc2c9
5 changed files with 80 additions and 75 deletions
|
|
@ -42,7 +42,7 @@
|
|||
const file = files.item(i)
|
||||
console.log("Got file", file.name)
|
||||
try {
|
||||
const canBeUploaded = state?.imageUploadManager?.canBeUploaded(file)
|
||||
const canBeUploaded = await state?.imageUploadManager?.canBeUploaded(file)
|
||||
if (canBeUploaded !== true) {
|
||||
errs.push(canBeUploaded.error)
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue