Fix errors being thrown by grid and table

This commit is contained in:
Andrew Kingston 2020-10-14 09:34:23 +01:00
parent 7e162960f0
commit cf28ba24a3
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@
} }
onMount(async () => { onMount(async () => {
if (datasource != null) { if (!isEmpty(datasource)) {
data = await fetchData(datasource, $store) data = await fetchData(datasource, $store)
let schema = {} let schema = {}

View File

@ -12,7 +12,7 @@
export let color export let color
export let stripeColor export let stripeColor
export let borderColor export let borderColor
export let datasource = {} export let datasource
export let _bb export let _bb
let data = [] let data = []