Fix: actually upload images to notes

This commit is contained in:
Pieter Vander Vennet 2025-04-23 21:43:10 +02:00
parent 4552ccbbf1
commit a8707243cf
2 changed files with 1 additions and 2 deletions

View file

@ -212,7 +212,7 @@ export class ImageUploadManager {
args.featureId
)
if (args.featureId.startsWith("note/")) {
if (!isNaN(Number(args.featureId))) {
// This is an OSM-note
const url = result.absoluteUrl
await this._osmConnection.addCommentToNote(args.featureId, url)