Fix: filtering for dates now works again

This commit is contained in:
Pieter Vander Vennet 2024-09-20 15:27:04 +02:00
parent 75a8ef5cb8
commit bea9f66b9a
3 changed files with 25 additions and 13 deletions

View file

@ -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) {