From 69e519c460433cdca3b7157e3a0b629dc32b3fbb Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 20 Apr 2021 10:26:20 +0100 Subject: [PATCH] Update builder settings modal to use spectrum components --- .../src/components/start/BuilderSettingsModal.svelte | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/packages/builder/src/components/start/BuilderSettingsModal.svelte b/packages/builder/src/components/start/BuilderSettingsModal.svelte index 8ed471f8f3..33151041a9 100644 --- a/packages/builder/src/components/start/BuilderSettingsModal.svelte +++ b/packages/builder/src/components/start/BuilderSettingsModal.svelte @@ -30,7 +30,7 @@ } function updateSelfHosting(event) { - if (hostingInfo.type === HostingTypes.CLOUD && event.target.checked) { + if (hostingInfo.type === HostingTypes.CLOUD && event.detail) { hostingInfo.hostingUrl = "localhost:10000" hostingInfo.useHttps = false hostingInfo.selfHostKey = "budibase" @@ -60,14 +60,13 @@ apps made in this builder.
@@ -75,9 +74,8 @@ please let us know below.