forked from MapComplete/MapComplete
		
	Fix upload for maintainers with email.
This commit is contained in:
		
							parent
							
								
									7e686cf52b
								
							
						
					
					
						commit
						55a3762412
					
				
					 1 changed files with 2 additions and 1 deletions
				
			
		|  | @ -1,3 +1,4 @@ | |||
| import escapeHtml from "escape-html"; | ||||
| import {OsmConnection, UserDetails} from "./OsmConnection"; | ||||
| import {UIEventSource} from "../UIEventSource"; | ||||
| import {ElementStorage} from "../ElementStorage"; | ||||
|  | @ -105,7 +106,7 @@ export class ChangesetHandler { | |||
|                 `<tag k="theme" v="${layout.id}"/>`, | ||||
|                 `<tag k="language" v="${Locale.language.data}"/>`, | ||||
|                 surveySource, | ||||
|                 layout.maintainer !== undefined ? `<tag k="theme-creator" v="${layout.maintainer}"/>` : "", | ||||
|                 layout.maintainer !== undefined ? `<tag k="theme-creator" v="${escapeHtml(layout.maintainer)}"/>` : "", | ||||
|                 `</changeset></osm>`].join("") | ||||
|         }, function (err, response) { | ||||
|             if (response === undefined) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue