Add 'subs' to title of IMGUR images, fixes #771

This commit is contained in:
pietervdvn 2022-04-24 16:10:17 +02:00
parent 8b444156c6
commit 9086713657

View file

@ -112,7 +112,7 @@ export class ImageUploadFlow extends Toggle {
} }
const title = matchingLayer?.title?.GetRenderValue(tags)?.ConstructElement()?.innerText ?? tags.name ?? "Unknown area"; const title = matchingLayer?.title?.GetRenderValue(tags)?.Subs(tags)?.ConstructElement()?.innerText ?? tags.name ?? "https//osm.org/"+tags.id;
const description = [ const description = [
"author:" + state.osmConnection.userDetails.data.name, "author:" + state.osmConnection.userDetails.data.name,
"license:" + license, "license:" + license,