From 8a2ccbc1a972818604950b194b3d6a7fa9588802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Tue, 23 Mar 2021 12:27:10 +0100 Subject: [PATCH] wip: cleanup of components --- .../src/components/backend/DataTable/DataTable.svelte | 2 +- .../backend/DataTable/popovers/CreateViewPopover.svelte | 4 ++-- .../backend/DataTable/popovers/ManageAccessPopover.svelte | 1 - .../TableNavigator/popovers/EditTablePopover.svelte | 7 ++++--- .../backend/TableNavigator/popovers/EditViewPopover.svelte | 6 +++--- .../builder/src/components/integration/QueryViewer.svelte | 1 - .../[application]/data/view/[selectedView]/_layout.svelte | 4 ++-- 7 files changed, 12 insertions(+), 13 deletions(-) diff --git a/packages/builder/src/components/backend/DataTable/DataTable.svelte b/packages/builder/src/components/backend/DataTable/DataTable.svelte index 6f7af72a98..b13ad14cef 100644 --- a/packages/builder/src/components/backend/DataTable/DataTable.svelte +++ b/packages/builder/src/components/backend/DataTable/DataTable.svelte @@ -22,7 +22,7 @@ $: schema = $tables.selected.schema $: tableView = { schema, - name: $views.selected.name, + name: $views.selected?.name, } // Fetch rows for specified table diff --git a/packages/builder/src/components/backend/DataTable/popovers/CreateViewPopover.svelte b/packages/builder/src/components/backend/DataTable/popovers/CreateViewPopover.svelte index 9d3a488732..9be42fecbe 100644 --- a/packages/builder/src/components/backend/DataTable/popovers/CreateViewPopover.svelte +++ b/packages/builder/src/components/backend/DataTable/popovers/CreateViewPopover.svelte @@ -1,7 +1,7 @@