Update settings modal
This commit is contained in:
parent
e41c6e33e0
commit
864366336a
|
@ -36,9 +36,7 @@
|
|||
|
||||
<div class="container">
|
||||
<Input
|
||||
on:save={e => updateKey(['budibase', e.detail])}
|
||||
thin
|
||||
edit
|
||||
on:change={e => updateKey(['budibase', e.detail])}
|
||||
value={keys.budibase}
|
||||
label="Budibase Cloud API Key" />
|
||||
<Link primary href="https://portal.budi.live">
|
||||
|
|
|
@ -23,16 +23,13 @@
|
|||
app.
|
||||
</Body>
|
||||
<Input
|
||||
on:change={e => (value = e.target.value)}
|
||||
on:input={e => (value = e.target.value)}
|
||||
thin
|
||||
on:change={e => (value = e.detail)}
|
||||
disabled={loading}
|
||||
placeholder="" />
|
||||
<div class="buttons">
|
||||
<Button
|
||||
primary
|
||||
warning
|
||||
disabled={value !== 'DELETE' || loading}
|
||||
red
|
||||
on:click={deleteApp}>
|
||||
Delete Entire App
|
||||
</Button>
|
||||
|
|
|
@ -80,25 +80,19 @@
|
|||
|
||||
<div class="container">
|
||||
<Input
|
||||
on:save={e => 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'}
|
||||
<Input
|
||||
on:save={e => 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}
|
||||
<TextArea
|
||||
on:save={e => updateApplication({ description: e.detail })}
|
||||
thin
|
||||
edit
|
||||
on:change={e => updateApplication({ description: e.detail })}
|
||||
value={$store.description}
|
||||
label="App Description" />
|
||||
</div>
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
(!$automationStore.selectedAutomation ||
|
||||
!$automationStore.selectedAutomation?.automation?._id)
|
||||
) {
|
||||
$goto(`../${$automationStore.automations[0]._id}`)
|
||||
$goto(`./${$automationStore.automations[0]._id}`)
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
|
Loading…
Reference in New Issue