From 829affcceab40e95a8fd8698e63de4303fea9b85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Keviin=20=C3=85berg=20Kultalahti?= Date: Fri, 12 Mar 2021 14:28:24 +0100 Subject: [PATCH] adds index page to datasource route --- .../pages/[application]/data/_layout.svelte | 2 +- .../data/datasource/index.svelte | 29 +++++++++++++++++++ .../[application]/data/table/index.svelte | 6 +--- 3 files changed, 31 insertions(+), 6 deletions(-) create mode 100644 packages/builder/src/pages/[application]/data/datasource/index.svelte diff --git a/packages/builder/src/pages/[application]/data/_layout.svelte b/packages/builder/src/pages/[application]/data/_layout.svelte index 6a4033d468..3414c1fca7 100644 --- a/packages/builder/src/pages/[application]/data/_layout.svelte +++ b/packages/builder/src/pages/[application]/data/_layout.svelte @@ -1,6 +1,6 @@ + + {#if $backendUiStore.tables.length === 0} + Connect your first datasource to start building. + {:else}Select a datasource to edit{/if} + + \ No newline at end of file diff --git a/packages/builder/src/pages/[application]/data/table/index.svelte b/packages/builder/src/pages/[application]/data/table/index.svelte index 6c661bca59..8491fca869 100644 --- a/packages/builder/src/pages/[application]/data/table/index.svelte +++ b/packages/builder/src/pages/[application]/data/table/index.svelte @@ -1,12 +1,8 @@