From 864366336a047a35ee0a0d3b2069e857b706a913 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Tue, 20 Apr 2021 12:55:23 +0100 Subject: [PATCH] Update settings modal --- .../components/settings/tabs/APIKeys.svelte | 4 +--- .../settings/tabs/DangerZone.svelte | 7 ++----- .../components/settings/tabs/General.svelte | 20 +++++++------------ .../[application]/automate/index.svelte | 2 +- 4 files changed, 11 insertions(+), 22 deletions(-) diff --git a/packages/builder/src/components/settings/tabs/APIKeys.svelte b/packages/builder/src/components/settings/tabs/APIKeys.svelte index affc3fffd9..8f9945e6d3 100644 --- a/packages/builder/src/components/settings/tabs/APIKeys.svelte +++ b/packages/builder/src/components/settings/tabs/APIKeys.svelte @@ -36,9 +36,7 @@
updateKey(['budibase', e.detail])} - thin - edit + on:change={e => updateKey(['budibase', e.detail])} value={keys.budibase} label="Budibase Cloud API Key" /> diff --git a/packages/builder/src/components/settings/tabs/DangerZone.svelte b/packages/builder/src/components/settings/tabs/DangerZone.svelte index fb69d3c903..b9643e9b76 100644 --- a/packages/builder/src/components/settings/tabs/DangerZone.svelte +++ b/packages/builder/src/components/settings/tabs/DangerZone.svelte @@ -23,16 +23,13 @@ app. (value = e.target.value)} - on:input={e => (value = e.target.value)} - thin + on:change={e => (value = e.detail)} disabled={loading} placeholder="" />
diff --git a/packages/builder/src/components/settings/tabs/General.svelte b/packages/builder/src/components/settings/tabs/General.svelte index f670fcdbb4..a556b0b855 100644 --- a/packages/builder/src/components/settings/tabs/General.svelte +++ b/packages/builder/src/components/settings/tabs/General.svelte @@ -80,25 +80,19 @@
updateApplication({ name: e.detail })} - thin - edit - bind:value={$store.name} - bind:error={nameError} + on:change={e => updateApplication({ name: e.detail })} + value={$store.name} + error={nameError} label="App Name" /> {#if $hostingStore.hostingInfo.type === 'self'} updateApplication({ url: e.detail })} - thin - edit - bind:value={$store.url} - bind:error={urlError} + on:change={e => updateApplication({ url: e.detail })} + value={$store.url} + error={urlError} label="App URL" /> {/if}