From b546faab15630c326784e070a5bf6c23d6f1f3c6 Mon Sep 17 00:00:00 2001 From: Martin McKeaveney Date: Fri, 11 Jun 2021 17:53:55 +0100 Subject: [PATCH] restore page structure back to selected datasource --- .../DatasourceNavigator.svelte | 2 +- .../{query => }/[query]/_layout.svelte | 0 .../{query => }/[query]/index.svelte | 0 .../entity/[entity]/_layout.svelte | 13 ---- .../entity/[entity]/index.svelte | 62 ------------------- 5 files changed, 1 insertion(+), 76 deletions(-) rename packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/{query => }/[query]/_layout.svelte (100%) rename packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/{query => }/[query]/index.svelte (100%) delete mode 100644 packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/_layout.svelte delete mode 100644 packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/index.svelte diff --git a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte index ff4c65e1cf..87daad4c3a 100644 --- a/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte +++ b/packages/builder/src/components/backend/DatasourceNavigator/DatasourceNavigator.svelte @@ -17,7 +17,7 @@ return } queries.select(query) - $goto(`./datasource/${query.datasourceId}/query/${query._id}`) + $goto(`./datasource/${query.datasourceId}/${query._id}`) } onMount(() => { diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/query/[query]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/[query]/_layout.svelte similarity index 100% rename from packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/query/[query]/_layout.svelte rename to packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/[query]/_layout.svelte diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/query/[query]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/[query]/index.svelte similarity index 100% rename from packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/query/[query]/index.svelte rename to packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/[query]/index.svelte diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/_layout.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/_layout.svelte deleted file mode 100644 index 4d6acc22ae..0000000000 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/_layout.svelte +++ /dev/null @@ -1,13 +0,0 @@ - - - diff --git a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/index.svelte b/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/index.svelte deleted file mode 100644 index 495fa1c844..0000000000 --- a/packages/builder/src/pages/builder/app/[application]/data/datasource/[selectedDatasource]/entity/[entity]/index.svelte +++ /dev/null @@ -1,62 +0,0 @@ - - -
- - - -