forked from MapComplete/MapComplete
More fixes to the refactored code
This commit is contained in:
parent
42d13f564c
commit
94f9a0de56
15 changed files with 78 additions and 82 deletions
|
@ -28,7 +28,7 @@ export class ImageUploadFlow extends Toggle {
|
|||
key = imagePrefix + ":" + freeIndex;
|
||||
}
|
||||
console.log("Adding image:" + key, url);
|
||||
State.state.changes.addTag(tags.id, new Tag(key, url));
|
||||
State.state.changes.addTag(tags.id, new Tag(key, url), tagsSource);
|
||||
})
|
||||
|
||||
|
||||
|
@ -47,7 +47,7 @@ export class ImageUploadFlow extends Toggle {
|
|||
}
|
||||
|
||||
console.log("Received images from the user, starting upload")
|
||||
const license = licensePicker.GetValue().data ?? "CC0"
|
||||
const license = licensePicker.GetValue()?.data ?? "CC0"
|
||||
|
||||
const tags = tagsSource.data;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue