forked from MapComplete/MapComplete
		
	Clear pending changes if they are already applied
This commit is contained in:
		
							parent
							
								
									c26783187b
								
							
						
					
					
						commit
						0ff6ac4af9
					
				
					 2 changed files with 4 additions and 2 deletions
				
			
		|  | @ -188,7 +188,9 @@ export class Changes implements FeatureSource { | |||
|             } | ||||
|         } | ||||
|         if (changedElements.length == 0 && newElements.length == 0) { | ||||
|             console.log("No changes in any object"); | ||||
|             console.log("No changes in any object - clearing"); | ||||
|             this.pending.setData([]) | ||||
|             this.newObjects.setData([]) | ||||
|             return; | ||||
|         } | ||||
|         const self = this; | ||||
|  |  | |||
|  | @ -2,7 +2,7 @@ import { Utils } from "../Utils"; | |||
| 
 | ||||
| export default class Constants { | ||||
|      | ||||
|     public static vNumber = "0.8.4-rc2"; | ||||
|     public static vNumber = "0.8.4-rc3"; | ||||
| 
 | ||||
|     // The user journey states thresholds when a new feature gets unlocked
 | ||||
|     public static userJourney = { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue