diff --git a/web-common/src/features/canvas/components/kpi/KPI.svelte b/web-common/src/features/canvas/components/kpi/KPI.svelte index a003f99a8db..3aeffb70a9a 100644 --- a/web-common/src/features/canvas/components/kpi/KPI.svelte +++ b/web-common/src/features/canvas/components/kpi/KPI.svelte @@ -161,7 +161,7 @@ {/if} - {#if showSparkline && sparkData.length} + {#if containerHeight && containerWidth && showSparkline && sparkData.length}