-
-
+ {/if}
{/if}
diff --git a/packages/builder/package.json b/packages/builder/package.json
index 23f3d9f7dd..241d036850 100644
--- a/packages/builder/package.json
+++ b/packages/builder/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"license": "GPL-3.0",
"private": true,
"scripts": {
@@ -65,10 +65,10 @@
}
},
"dependencies": {
- "@budibase/bbui": "^1.0.76-alpha.5",
- "@budibase/client": "^1.0.76-alpha.5",
- "@budibase/frontend-core": "^1.0.76-alpha.5",
- "@budibase/string-templates": "^1.0.76-alpha.5",
+ "@budibase/bbui": "^1.0.79-alpha.0",
+ "@budibase/client": "^1.0.79-alpha.0",
+ "@budibase/frontend-core": "^1.0.79-alpha.0",
+ "@budibase/string-templates": "^1.0.79-alpha.0",
"@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",
diff --git a/packages/builder/src/components/backend/DataTable/ViewDataTable.svelte b/packages/builder/src/components/backend/DataTable/ViewDataTable.svelte
index 10c6703623..cf525f3ef3 100644
--- a/packages/builder/src/components/backend/DataTable/ViewDataTable.svelte
+++ b/packages/builder/src/components/backend/DataTable/ViewDataTable.svelte
@@ -57,7 +57,8 @@
{data}
{loading}
{type}
- allowEditing={!view?.calculation}
+ allowEditing={false}
+ rowCount={10}
bind:hideAutocolumns
>
diff --git a/packages/builder/src/helpers/data/utils.js b/packages/builder/src/helpers/data/utils.js
index 0e99109189..f6822890f3 100644
--- a/packages/builder/src/helpers/data/utils.js
+++ b/packages/builder/src/helpers/data/utils.js
@@ -30,8 +30,8 @@ export function breakQueryString(qs) {
const params = qs.split("&")
let paramObj = {}
for (let param of params) {
- const [key, value] = param.split("=")
- paramObj[key] = value
+ const split = param.split("=")
+ paramObj[split[0]] = split.slice(1).join("=")
}
return paramObj
}
diff --git a/packages/builder/src/stores/backend/queries.js b/packages/builder/src/stores/backend/queries.js
index 6e30cb21f8..e5b79fb165 100644
--- a/packages/builder/src/stores/backend/queries.js
+++ b/packages/builder/src/stores/backend/queries.js
@@ -60,7 +60,7 @@ export function createQueriesStore() {
})
return savedQuery
},
- import: async (data, datasourceId) => {
+ import: async ({ data, datasourceId }) => {
return await API.importQueries({
datasourceId,
data,
diff --git a/packages/cli/package.json b/packages/cli/package.json
index c3343949ff..6a94511c02 100644
--- a/packages/cli/package.json
+++ b/packages/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/cli",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"description": "Budibase CLI, for developers, self hosting and migrations.",
"main": "src/index.js",
"bin": {
diff --git a/packages/client/package.json b/packages/client/package.json
index 16c41d1e24..a0a37437d0 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/client",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"license": "MPL-2.0",
"module": "dist/budibase-client.js",
"main": "dist/budibase-client.js",
@@ -19,9 +19,9 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
- "@budibase/bbui": "^1.0.76-alpha.5",
- "@budibase/frontend-core": "^1.0.76-alpha.5",
- "@budibase/string-templates": "^1.0.76-alpha.5",
+ "@budibase/bbui": "^1.0.79-alpha.0",
+ "@budibase/frontend-core": "^1.0.79-alpha.0",
+ "@budibase/string-templates": "^1.0.79-alpha.0",
"@spectrum-css/button": "^3.0.3",
"@spectrum-css/card": "^3.0.3",
"@spectrum-css/divider": "^1.0.3",
diff --git a/packages/client/src/utils/buttonActions.js b/packages/client/src/utils/buttonActions.js
index 72c8f9c083..fec966725b 100644
--- a/packages/client/src/utils/buttonActions.js
+++ b/packages/client/src/utils/buttonActions.js
@@ -127,12 +127,16 @@ const queryExecutionHandler = async action => {
// Trigger a notification and invalidate the datasource as long as this
// was not a readable query
if (!query.readable) {
- API.notifications.error.success("Query executed successfully")
+ notificationStore.actions.success("Query executed successfully")
await dataSourceStore.actions.invalidateDataSource(query.datasourceId)
}
return { result }
} catch (error) {
+ notificationStore.actions.error(
+ "An error occurred while executing the query"
+ )
+
// Abort next actions
return false
}
diff --git a/packages/frontend-core/package.json b/packages/frontend-core/package.json
index 52c7dceedb..f7450ee008 100644
--- a/packages/frontend-core/package.json
+++ b/packages/frontend-core/package.json
@@ -1,12 +1,12 @@
{
"name": "@budibase/frontend-core",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"description": "Budibase frontend core libraries used in builder and client",
"author": "Budibase",
"license": "MPL-2.0",
"svelte": "src/index.js",
"dependencies": {
- "@budibase/bbui": "^1.0.76-alpha.5",
+ "@budibase/bbui": "^1.0.79-alpha.0",
"lodash": "^4.17.21",
"svelte": "^3.46.2"
}
diff --git a/packages/server/package.json b/packages/server/package.json
index 5b45e6f6a4..547723cc99 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"description": "Budibase Web Server",
"main": "src/index.ts",
"repository": {
@@ -73,9 +73,9 @@
"license": "GPL-3.0",
"dependencies": {
"@apidevtools/swagger-parser": "^10.0.3",
- "@budibase/backend-core": "^1.0.76-alpha.5",
- "@budibase/client": "^1.0.76-alpha.5",
- "@budibase/string-templates": "^1.0.76-alpha.5",
+ "@budibase/backend-core": "^1.0.79-alpha.0",
+ "@budibase/client": "^1.0.79-alpha.0",
+ "@budibase/string-templates": "^1.0.79-alpha.0",
"@bull-board/api": "^3.7.0",
"@bull-board/koa": "^3.7.0",
"@elastic/elasticsearch": "7.10.0",
diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json
index bb9d7cb66c..91e965ca51 100644
--- a/packages/string-templates/package.json
+++ b/packages/string-templates/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.cjs",
"module": "dist/bundle.mjs",
diff --git a/packages/worker/package.json b/packages/worker/package.json
index 6fa4ebb9a4..c14c4c1ee4 100644
--- a/packages/worker/package.json
+++ b/packages/worker/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/worker",
"email": "hi@budibase.com",
- "version": "1.0.76-alpha.5",
+ "version": "1.0.79-alpha.0",
"description": "Budibase background service",
"main": "src/index.ts",
"repository": {
@@ -34,8 +34,8 @@
"author": "Budibase",
"license": "GPL-3.0",
"dependencies": {
- "@budibase/backend-core": "^1.0.76-alpha.5",
- "@budibase/string-templates": "^1.0.76-alpha.5",
+ "@budibase/backend-core": "^1.0.79-alpha.0",
+ "@budibase/string-templates": "^1.0.79-alpha.0",
"@koa/router": "^8.0.0",
"@sentry/node": "^6.0.0",
"@techpass/passport-openidconnect": "^0.3.0",