diff --git a/packages/builder/src/components/common/BottomDrawer.svelte b/packages/builder/src/components/common/BottomDrawer.svelte index 970b8dbbd5..dc442bc2c3 100644 --- a/packages/builder/src/components/common/BottomDrawer.svelte +++ b/packages/builder/src/components/common/BottomDrawer.svelte @@ -47,5 +47,6 @@ .close { font-size: var(--font-size-xl); + cursor: pointer; } diff --git a/packages/builder/src/components/userInterface/TableViewSelect.svelte b/packages/builder/src/components/userInterface/TableViewSelect.svelte index 42ac6e7c7e..a7f1f87a0e 100644 --- a/packages/builder/src/components/userInterface/TableViewSelect.svelte +++ b/packages/builder/src/components/userInterface/TableViewSelect.svelte @@ -2,7 +2,7 @@ import { Button, Icon, DropdownMenu, Spacer, Heading } from "@budibase/bbui" import { createEventDispatcher } from "svelte" import { store, backendUiStore, currentAsset } from "builderStore" - // import DataBindingDrawer from "components/userInterface/DataBindingDrawer/index.svelte" + import { notifier } from "builderStore/store/notifications" import BottomDrawer from "components/common/BottomDrawer.svelte" import ParameterBuilder from "components/integration/QueryParameterBuilder.svelte" import fetchBindableProperties from "../../builderStore/fetchBindableProperties" @@ -92,7 +92,10 @@ {#if bindingDrawerOpen}
- +
{value.queryString}
diff --git a/packages/server/src/api/controllers/datasource.js b/packages/server/src/api/controllers/datasource.js index b3ef1d7c0e..ba8cb589ef 100644 --- a/packages/server/src/api/controllers/datasource.js +++ b/packages/server/src/api/controllers/datasource.js @@ -66,7 +66,7 @@ exports.destroy = async function(ctx) { await db.bulkDocs(rows.rows.map(row => ({ ...row.doc, _deleted: true }))) // delete the datasource - await db.destroy(ctx.params.datasourceId) + await db.remove(ctx.params.datasourceId) ctx.message = `Datasource deleted.` ctx.status = 200 diff --git a/packages/server/src/api/controllers/query.js b/packages/server/src/api/controllers/query.js index 3b907a56ec..c1e0b879c0 100644 --- a/packages/server/src/api/controllers/query.js +++ b/packages/server/src/api/controllers/query.js @@ -79,7 +79,7 @@ exports.execute = async function(ctx) { exports.destroy = async function(ctx) { const db = new CouchDB(ctx.user.appId) - await db.destroy(ctx.params.queryId) + await db.remove(ctx.params.queryId) ctx.message = `Query deleted.` ctx.status = 200 }