Set default license if none is set while uploading

This commit is contained in:
Pieter Vander Vennet 2020-09-22 01:32:36 +02:00
parent b9dc7a7efc
commit d7083131a1
3 changed files with 5 additions and 9 deletions

View file

@ -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,