This commit is contained in:
Pieter Vander Vennet 2024-11-12 20:17:34 +01:00
parent 05298c2498
commit 08e3c6368a

View file

@ -64,7 +64,7 @@
onDestroy( onDestroy(
globalFilter.addCallbackAndRun((globalFilter) => { globalFilter.addCallbackAndRun((globalFilter) => {
console.log("Global filters are", globalFilter) console.log("Global filters are", globalFilter)
_globalFilter = globalFilter ?? [] _globalFilter = globalFilter?.filter(gf => gf.onNewPoint !== undefined) ?? []
}) })
) )
$: { $: {