diff --git a/packages/bbui/src/Table/Table.svelte b/packages/bbui/src/Table/Table.svelte index 1b7f1cddfb..d34b012bfa 100644 --- a/packages/bbui/src/Table/Table.svelte +++ b/packages/bbui/src/Table/Table.svelte @@ -588,7 +588,7 @@ border-top: none; grid-column: 1 / -1; background-color: var(--table-bg); - padding: 60px 40px; + padding: 40px; } .placeholder--no-fields { border-top: var(--table-border); diff --git a/packages/builder/src/components/backend/DataTable/DataTable.svelte b/packages/builder/src/components/backend/DataTable/DataTable.svelte index 6a6b16b6fd..4442346653 100644 --- a/packages/builder/src/components/backend/DataTable/DataTable.svelte +++ b/packages/builder/src/components/backend/DataTable/DataTable.svelte @@ -28,7 +28,7 @@ $: id = $tables.selected?._id $: fetch = createFetch(id) $: hasCols = checkHasCols(schema) - $: hasRows = !!$fetch.data?.length + $: hasRows = !!$fetch.rows?.length const enrichSchema = schema => { let tempSchema = { ...schema } @@ -124,14 +124,17 @@ >