From 72028b57ec8b6d7a737fc875f5f5791c55a395bf Mon Sep 17 00:00:00 2001 From: Dean Date: Mon, 24 Oct 2022 16:31:58 +0100 Subject: [PATCH] Don't attempt to render the internal chart until a type has been set --- .../components/app/blocks/ChartBlock.svelte | 60 ++++++++++--------- 1 file changed, 31 insertions(+), 29 deletions(-) diff --git a/packages/client/src/components/app/blocks/ChartBlock.svelte b/packages/client/src/components/app/blocks/ChartBlock.svelte index cc2d156129..92151ad9c0 100644 --- a/packages/client/src/components/app/blocks/ChartBlock.svelte +++ b/packages/client/src/components/app/blocks/ChartBlock.svelte @@ -64,34 +64,36 @@ limit, }} > - + {#if dataProviderId && chartType} + + {/if}