From ab073c1874013d0f7f3426e48ca786499e25f7dd Mon Sep 17 00:00:00 2001 From: cmack Date: Thu, 27 Aug 2020 10:08:42 +0100 Subject: [PATCH] Tidyup - remove logs --- packages/standard-components/src/Chart/Bar.svelte | 1 - packages/standard-components/src/Chart/Line.svelte | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/standard-components/src/Chart/Bar.svelte b/packages/standard-components/src/Chart/Bar.svelte index c25714233d..24da930e14 100644 --- a/packages/standard-components/src/Chart/Bar.svelte +++ b/packages/standard-components/src/Chart/Bar.svelte @@ -59,7 +59,6 @@ onMount(async () => { if (!isEmpty(datasource)) { data = await fetchData(datasource) - console.log("DATA", data) if (schemaIsValid()) { chartContainer = select(`.${chartClass}`) diff --git a/packages/standard-components/src/Chart/Line.svelte b/packages/standard-components/src/Chart/Line.svelte index c0e6365ea7..4694534fc2 100644 --- a/packages/standard-components/src/Chart/Line.svelte +++ b/packages/standard-components/src/Chart/Line.svelte @@ -66,7 +66,7 @@ onMount(async () => { if (!isEmpty(datasource)) { data = await getAndPrepareData() - console.log("DATA", data) + if (data.dataByTopic.length > 0) { chartContainer = select(`.${chartClass}`) bindChartUIProps()