forked from MapComplete/MapComplete
Set default license if none is set while uploading
This commit is contained in:
parent
b9dc7a7efc
commit
d7083131a1
3 changed files with 5 additions and 9 deletions
|
@ -24,7 +24,7 @@ export class OsmImageUploadHandler {
|
|||
private generateOptions(license: string) {
|
||||
const tags = this._tags.data;
|
||||
const self = this;
|
||||
|
||||
license = license ?? "CC0"
|
||||
const title = tags.name ?? "Unknown area";
|
||||
const description = [
|
||||
"author:" + State.state.osmConnection.userDetails.data.name,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue