forked from MapComplete/MapComplete
		
	Fix: filtering for dates now works again
This commit is contained in:
		
							parent
							
								
									75a8ef5cb8
								
							
						
					
					
						commit
						bea9f66b9a
					
				
					 3 changed files with 25 additions and 13 deletions
				
			
		|  | @ -68,7 +68,7 @@ export abstract class Validator { | |||
|     } | ||||
| 
 | ||||
|     public getPlaceholder() { | ||||
|         return Translations.t.validation[this.name].description | ||||
|         return Translations.t.validation[this.name]?.description | ||||
|     } | ||||
| 
 | ||||
|     public isValid(_: string, getCountry?: () => string): boolean { | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ import Filterview from "./BigComponents/Filterview.svelte" | |||
| import FilteredLayer from "../Models/FilteredLayer" | ||||
| import { SubtleButton } from "./Base/SubtleButton" | ||||
| import { GeoOperations } from "../Logic/GeoOperations" | ||||
| import { Polygon } from "geojson" | ||||
| import { FeatureCollection, Polygon } from "geojson" | ||||
| import { Feature } from "geojson" | ||||
| 
 | ||||
| class StatsticsForOverviewFile extends Combine { | ||||
|  | @ -30,7 +30,9 @@ class StatsticsForOverviewFile extends Combine { | |||
|             new Title("Filters"), | ||||
|             new SvelteUIElement(Filterview, { filteredLayer }), | ||||
|         ]) | ||||
| 
 | ||||
|         filteredLayer.currentFilter.addCallbackAndRun(tf => { | ||||
|             console.log("Filters are", tf) | ||||
|         }) | ||||
|         const downloaded = new UIEventSource<{ features: ChangeSetData[] }[]>([]) | ||||
| 
 | ||||
|         for (const filepath of paths) { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue