diff --git a/lerna.json b/lerna.json
index 90b86cfa18..c42c5ecfb4 100644
--- a/lerna.json
+++ b/lerna.json
@@ -1,5 +1,5 @@
{
- "version": "1.0.105-alpha.8",
+ "version": "1.0.105-alpha.9",
"npmClient": "yarn",
"packages": [
"packages/*"
diff --git a/packages/backend-core/package.json b/packages/backend-core/package.json
index 5d8ac1bbe1..83d73198fe 100644
--- a/packages/backend-core/package.json
+++ b/packages/backend-core/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/backend-core",
- "version": "1.0.105-alpha.8",
+ "version": "1.0.105-alpha.9",
"description": "Budibase backend core libraries used in server and worker",
"main": "src/index.js",
"author": "Budibase",
diff --git a/packages/bbui/package.json b/packages/bbui/package.json
index 48b352f1b0..e614c0bb02 100644
--- a/packages/bbui/package.json
+++ b/packages/bbui/package.json
@@ -1,7 +1,7 @@
{
"name": "@budibase/bbui",
"description": "A UI solution used in the different Budibase projects.",
- "version": "1.0.105-alpha.8",
+ "version": "1.0.105-alpha.9",
"license": "MPL-2.0",
"svelte": "src/index.js",
"module": "dist/bbui.es.js",
@@ -38,7 +38,7 @@
],
"dependencies": {
"@adobe/spectrum-css-workflow-icons": "^1.2.1",
- "@budibase/string-templates": "^1.0.105-alpha.8",
+ "@budibase/string-templates": "^1.0.105-alpha.9",
"@spectrum-css/actionbutton": "^1.0.1",
"@spectrum-css/actiongroup": "^1.0.1",
"@spectrum-css/avatar": "^3.0.2",
diff --git a/packages/builder/package.json b/packages/builder/package.json
index a7fe942bd6..c7bc22c733 100644
--- a/packages/builder/package.json
+++ b/packages/builder/package.json
@@ -1,6 +1,6 @@
{
"name": "@budibase/builder",
- "version": "1.0.105-alpha.8",
+ "version": "1.0.105-alpha.9",
"license": "GPL-3.0",
"private": true,
"scripts": {
@@ -65,10 +65,10 @@
}
},
"dependencies": {
- "@budibase/bbui": "^1.0.105-alpha.8",
- "@budibase/client": "^1.0.105-alpha.8",
- "@budibase/frontend-core": "^1.0.105-alpha.8",
- "@budibase/string-templates": "^1.0.105-alpha.8",
+ "@budibase/bbui": "^1.0.105-alpha.9",
+ "@budibase/client": "^1.0.105-alpha.9",
+ "@budibase/frontend-core": "^1.0.105-alpha.9",
+ "@budibase/string-templates": "^1.0.105-alpha.9",
"@sentry/browser": "5.19.1",
"@spectrum-css/page": "^3.0.1",
"@spectrum-css/vars": "^3.0.1",
diff --git a/packages/builder/src/builderStore/store/screenTemplates/utils/sanitizeUrl.js b/packages/builder/src/builderStore/store/screenTemplates/utils/sanitizeUrl.js
index 16224a45bc..4d00c503fb 100644
--- a/packages/builder/src/builderStore/store/screenTemplates/utils/sanitizeUrl.js
+++ b/packages/builder/src/builderStore/store/screenTemplates/utils/sanitizeUrl.js
@@ -2,9 +2,15 @@ export default function (url) {
return url
.split("/")
.map(part => {
- // if parameter, then use as is
- if (part.startsWith(":")) return part
- return encodeURIComponent(part.replace(/ /g, "-"))
+ part = decodeURIComponent(part)
+ part = part.replace(/ /g, "-")
+
+ // If parameter, then use as is
+ if (!part.startsWith(":")) {
+ part = encodeURIComponent(part)
+ }
+
+ return part
})
.join("/")
.toLowerCase()
diff --git a/packages/builder/src/components/common/TemplateCard.svelte b/packages/builder/src/components/common/TemplateCard.svelte
index 1271f6aa24..5ab8c3d774 100644
--- a/packages/builder/src/components/common/TemplateCard.svelte
+++ b/packages/builder/src/components/common/TemplateCard.svelte
@@ -6,15 +6,10 @@
export let overlayEnabled = true
let imageError = false
- let imageLoaded = false
const imageRenderError = () => {
imageError = true
}
-
- const imageLoadSuccess = () => {
- imageLoaded = true
- }
@@ -23,8 +18,7 @@
alt={name}
src={imageSrc}
on:error={imageRenderError}
- on:load={imageLoadSuccess}
- class={`${imageLoaded ? "loaded" : ""}`}
+ class:error={imageError}
/>