From edd973deefd81c5f5278d34469813bbdd681a00a Mon Sep 17 00:00:00 2001 From: Dhiraj Kumar Date: Sat, 21 Dec 2024 00:02:42 +0530 Subject: [PATCH] Wait for container dimensions to be available before render --- web-common/src/features/canvas/components/kpi/KPI.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}