fix missing rooflines in analysis heatmap plot

This commit is contained in:
Christoph Kluge
2025-11-14 14:02:16 +01:00
parent 591cd9fd66
commit cbdef6ce9e

View File

@@ -76,7 +76,7 @@
/* State Init */ /* State Init */
let filterComponent = $state(); // see why here: https://stackoverflow.com/questions/58287729/how-can-i-export-a-function-from-a-svelte-component-that-changes-a-value-in-the let filterComponent = $state(); // see why here: https://stackoverflow.com/questions/58287729/how-can-i-export-a-function-from-a-svelte-component-that-changes-a-value-in-the
let cluster = $state(filterPresets?.cluster); let cluster = $state({});
let rooflineMaxY = $state(0); let rooflineMaxY = $state(0);
let maxY = $state(-1); let maxY = $state(-1);
let colWidth1 = $state(0); let colWidth1 = $state(0);
@@ -504,7 +504,7 @@
width={colWidth2} width={colWidth2}
height={280} height={280}
tiles={$rooflineQuery.data.rooflineHeatmap} tiles={$rooflineQuery.data.rooflineHeatmap}
subCluster={cluster.subClusters.length == 1 subCluster={cluster.subClusters.length >= 1
? cluster.subClusters[0] ? cluster.subClusters[0]
: null} : null}
maxY={rooflineMaxY} maxY={rooflineMaxY}