forked from MapComplete/MapComplete
		
	Fix: add default value for setStatus
This commit is contained in:
		
							parent
							
								
									6a2e372062
								
							
						
					
					
						commit
						eede2d17dd
					
				
					 2 changed files with 3 additions and 1 deletions
				
			
		|  | @ -138,7 +138,8 @@ | |||
|               "message": { | ||||
|                 "en": "Mark this item as linked manually. Use this if you did apply the reference via copy-paste or via another editor", | ||||
|                 "nl": "Markeer als gelinkt. Gebruik deze optie indien je de ID plakte in een fietsenstalling of via een andere editor toevoegdemap" | ||||
|               } | ||||
|               }, | ||||
|               "status": 1 | ||||
|             } | ||||
|           } | ||||
|         }, | ||||
|  |  | |||
|  | @ -1097,6 +1097,7 @@ export default class SpecialVisualizations { | |||
|                     if (maproulette_id_key === "" || maproulette_id_key === undefined) { | ||||
|                         maproulette_id_key = "mr_taskId" | ||||
|                     } | ||||
|                     statusToSet = statusToSet ?? "1" | ||||
|                     return new SvelteUIElement(MaprouletteSetStatus, { | ||||
|                         state, | ||||
|                         tags: tagsSource, | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue