diff --git a/.github/workflows/budibase_ci.yml b/.github/workflows/budibase_ci.yml
index bd10833f91..50780b45dd 100644
--- a/.github/workflows/budibase_ci.yml
+++ b/.github/workflows/budibase_ci.yml
@@ -6,9 +6,11 @@ on:
push:
branches:
- master
+ - develop
pull_request:
branches:
- master
+ - develop
jobs:
build:
diff --git a/lerna.json b/lerna.json
index 5055269980..e45c2a6a5a 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "0.7.6",
+ "version": "0.7.7",
"npmClient": "yarn",
"packages": [
"packages/*"
diff --git a/packages/builder/package.json b/packages/builder/package.json
index bc1abf3ff1..34dbb48217 100644
--- a/packages/builder/package.json
+++ b/packages/builder/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
- "version": "0.7.6",
+ "version": "0.7.7",
"license": "AGPL-3.0",
"private": true,
"scripts": {
@@ -64,9 +64,9 @@
},
"dependencies": {
"@budibase/bbui": "^1.58.4",
- "@budibase/client": "^0.7.6",
+ "@budibase/client": "^0.7.7",
"@budibase/colorpicker": "1.0.1",
- "@budibase/string-templates": "^0.7.6",
+ "@budibase/string-templates": "^0.7.7",
"@budibase/svelte-ag-grid": "^0.0.16",
"@sentry/browser": "5.19.1",
"@svelteschool/svelte-forms": "0.7.0",
diff --git a/packages/builder/src/pages/index.svelte b/packages/builder/src/pages/index.svelte
index 5aa99be35b..c442607962 100644
--- a/packages/builder/src/pages/index.svelte
+++ b/packages/builder/src/pages/index.svelte
@@ -48,6 +48,11 @@
modal.show()
}
+ function closeModal() {
+ template = null
+ modal.hide()
+ }
+
checkIfKeysAndApps()
@@ -73,7 +78,7 @@
-
+
diff --git a/packages/client/package.json b/packages/client/package.json
index 8541e2f807..d080bea4b3 100644
--- a/packages/client/package.json
+++ b/packages/client/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/client",
- "version": "0.7.6",
+ "version": "0.7.7",
"license": "MPL-2.0",
"main": "dist/budibase-client.js",
"module": "dist/budibase-client.js",
@@ -9,14 +9,14 @@
"dev:builder": "rollup -cw"
},
"dependencies": {
- "@budibase/string-templates": "^0.7.6",
+ "@budibase/string-templates": "^0.7.7",
"deep-equal": "^2.0.1",
"regexparam": "^1.3.0",
"shortid": "^2.2.15",
"svelte-spa-router": "^3.0.5"
},
"devDependencies": {
- "@budibase/standard-components": "^0.7.6",
+ "@budibase/standard-components": "^0.7.7",
"@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-node-resolve": "^10.0.0",
"fs-extra": "^8.1.0",
diff --git a/packages/server/package.json b/packages/server/package.json
index 760c05d689..14a3d3ec9b 100644
--- a/packages/server/package.json
+++ b/packages/server/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/server",
"email": "hi@budibase.com",
- "version": "0.7.6",
+ "version": "0.7.7",
"description": "Budibase Web Server",
"main": "src/electron.js",
"repository": {
@@ -50,8 +50,8 @@
"author": "Budibase",
"license": "AGPL-3.0-or-later",
"dependencies": {
- "@budibase/client": "^0.7.6",
- "@budibase/string-templates": "^0.7.6",
+ "@budibase/client": "^0.7.7",
+ "@budibase/string-templates": "^0.7.7",
"@elastic/elasticsearch": "7.10.0",
"@koa/router": "8.0.0",
"@sendgrid/mail": "7.1.1",
diff --git a/packages/server/src/utilities/builder/hosting.js b/packages/server/src/utilities/builder/hosting.js
index 3c02410afd..c265c26dd0 100644
--- a/packages/server/src/utilities/builder/hosting.js
+++ b/packages/server/src/utilities/builder/hosting.js
@@ -94,17 +94,22 @@ exports.getDeployedApps = async () => {
}
const workerUrl = !env.CLOUD ? await exports.getWorkerUrl() : env.WORKER_URL
const hostingKey = !env.CLOUD ? hostingInfo.selfHostKey : env.HOSTING_KEY
- const response = await fetch(`${workerUrl}/api/apps`, {
- method: "GET",
- headers: {
- "x-budibase-auth": hostingKey,
- },
- })
- const json = await response.json()
- for (let value of Object.values(json)) {
- if (value.url) {
- value.url = value.url.toLowerCase()
+ try {
+ const response = await fetch(`${workerUrl}/api/apps`, {
+ method: "GET",
+ headers: {
+ "x-budibase-auth": hostingKey,
+ },
+ })
+ const json = await response.json()
+ for (let value of Object.values(json)) {
+ if (value.url) {
+ value.url = value.url.toLowerCase()
+ }
}
+ return json
+ } catch (err) {
+ // error, cannot determine deployed apps, don't stop app creation - sort this later
+ return {}
}
- return json
}
diff --git a/packages/standard-components/package.json b/packages/standard-components/package.json
index ec179f934a..c4a70554b0 100644
--- a/packages/standard-components/package.json
+++ b/packages/standard-components/package.json
@@ -35,7 +35,7 @@
"keywords": [
"svelte"
],
- "version": "0.7.6",
+ "version": "0.7.7",
"license": "MIT",
"gitHead": "1a80b09fd093f2599a68f7db72ad639dd50922dd",
"dependencies": {
diff --git a/packages/string-templates/package.json b/packages/string-templates/package.json
index fae7314241..5c79020e70 100644
--- a/packages/string-templates/package.json
+++ b/packages/string-templates/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/string-templates",
- "version": "0.7.6",
+ "version": "0.7.7",
"description": "Handlebars wrapper for Budibase templating.",
"main": "src/index.js",
"module": "src/index.js",
diff --git a/packages/worker/package.json b/packages/worker/package.json
index 65e4c4742d..4256b527c2 100644
--- a/packages/worker/package.json
+++ b/packages/worker/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/deployment",
"email": "hi@budibase.com",
- "version": "0.7.6",
+ "version": "0.7.7",
"description": "Budibase Deployment Server",
"main": "src/index.js",
"repository": {