diff --git a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte
index a99a16e240..81c38e553b 100644
--- a/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte
+++ b/packages/builder/src/components/automation/AutomationPanel/EditAutomationPopover.svelte
@@ -1,4 +1,4 @@
-
diff --git a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
index 4fcdb6cd84..4f36e6157a 100644
--- a/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
+++ b/packages/builder/src/components/automation/SetupPanel/RowSelector.svelte
@@ -1,6 +1,6 @@
-
+
-
\ No newline at end of file
diff --git a/packages/builder/src/pages/[application]/automate/index.svelte b/packages/builder/src/pages/[application]/automate/index.svelte
index 98e5b80a18..f6568417a8 100644
--- a/packages/builder/src/pages/[application]/automate/index.svelte
+++ b/packages/builder/src/pages/[application]/automate/index.svelte
@@ -1,18 +1,19 @@
Create your first automation to get started
@@ -23,4 +24,4 @@
color: var(--grey-5);
margin-top: 2px;
}
-
\ No newline at end of file
+
diff --git a/packages/builder/src/pages/[application]/data/_layout.svelte b/packages/builder/src/pages/[application]/data/_layout.svelte
index 0674c93c88..5a31d7db92 100644
--- a/packages/builder/src/pages/[application]/data/_layout.svelte
+++ b/packages/builder/src/pages/[application]/data/_layout.svelte
@@ -17,11 +17,11 @@
},
]
- let tab = $isActive('./datasource') ? "datasource" : "table"
+ let tab = $isActive("./datasource") ? "datasource" : "table"
function selectFirstTableOrSource({ detail }) {
const type = detail.heading.key
- if (type === 'datasource') {
+ if (type === "datasource") {
$goto("./datasource")
} else {
$goto("./table")
@@ -34,7 +34,10 @@
-
+
m._id === $params.query
- )
+ const query = $backendUiStore.queries.find(m => m._id === $params.query)
if (query) {
backendUiStore.actions.queries.select(query)
}
diff --git a/packages/builder/src/pages/[application]/data/datasource/index.svelte b/packages/builder/src/pages/[application]/data/datasource/index.svelte
index 73b369ad6f..dafaf14e47 100644
--- a/packages/builder/src/pages/[application]/data/datasource/index.svelte
+++ b/packages/builder/src/pages/[application]/data/datasource/index.svelte
@@ -1,29 +1,30 @@
-
- {#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
+ })
+
+
+{#if $backendUiStore.tables.length === 0}
+ Connect your first datasource to start building.
+{:else}Select a datasource to edit{/if}
+
+