now possible to navigate directly to a query
This commit is contained in:
parent
4b30384549
commit
e4817983a4
|
@ -1,15 +1,15 @@
|
||||||
<script>
|
<script>
|
||||||
// import { params } from "@sveltech/routify"
|
import { params } from "@sveltech/routify"
|
||||||
// import { backendUiStore } from "builderStore"
|
import { backendUiStore } from "builderStore"
|
||||||
|
|
||||||
// if ($params.selectedDatasource) {
|
if ($params.query) {
|
||||||
// const datasource = $backendUiStore.datasources.find(
|
const query = $backendUiStore.queries.find(
|
||||||
// m => m._id === $params.selectedDatasource
|
m => m._id === $params.query
|
||||||
// )
|
)
|
||||||
// if (datasource) {
|
if (query) {
|
||||||
// backendUiStore.actions.datasources.select(datasource._id)
|
backendUiStore.actions.queries.select(query)
|
||||||
// }
|
}
|
||||||
// }
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<slot />
|
<slot />
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
<script>
|
<script>
|
||||||
import { goto, beforeUrlChange } from "@sveltech/routify"
|
import { goto, beforeUrlChange } from "@sveltech/routify"
|
||||||
import { Button, Heading, Body, Spacer, Icon } from "@budibase/bbui"
|
import { Button, Heading, Body, Spacer } from "@budibase/bbui"
|
||||||
import { backendUiStore } from "builderStore"
|
import { backendUiStore } from "builderStore"
|
||||||
import { notifier } from "builderStore/store/notifications"
|
import { notifier } from "builderStore/store/notifications"
|
||||||
import IntegrationConfigForm from "components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte"
|
import IntegrationConfigForm from "components/backend/DatasourceNavigator/TableIntegrationMenu/IntegrationConfigForm.svelte"
|
||||||
|
|
Loading…
Reference in New Issue