clear perspective cache reloads also patterns

This commit is contained in:
Jan Prochazka
2022-12-31 10:48:14 +01:00
parent b8fcbbbc93
commit fb1cbc71f2

View File

@@ -111,11 +111,12 @@
) )
); );
const cache = new PerspectiveCache(); let cache = new PerspectiveCache();
const loadedCounts = writable({}); const loadedCounts = writable({});
export function refresh() { export function refresh() {
cache.clear(); cache = new PerspectiveCache();
// cache.clear();
loadedCounts.set({}); loadedCounts.set({});
} }
</script> </script>