remove name selection from UI
This commit is contained in:
parent
7948783982
commit
cb4b918e5a
4 changed files with 7 additions and 13 deletions
|
@ -88,7 +88,7 @@
|
|||
<section class="spectrum-Dialog-content content-grid">
|
||||
<slot />
|
||||
</section>
|
||||
{#if showCancelButton || showConfirmButton}
|
||||
{#if showCancelButton || showConfirmButton || $$slots.footer}
|
||||
<div
|
||||
class="spectrum-ButtonGroup spectrum-Dialog-buttonGroup spectrum-Dialog-buttonGroup--noFooter"
|
||||
>
|
||||
|
|
|
@ -92,6 +92,7 @@
|
|||
<Label size="M">{option}</Label>
|
||||
|
||||
<Dropzone
|
||||
gallery={false}
|
||||
value={[file]}
|
||||
on:change={e => {
|
||||
if (!e.detail || e.detail.length === 0) {
|
||||
|
|
|
@ -8,9 +8,9 @@
|
|||
Label,
|
||||
Input,
|
||||
} from "@budibase/bbui"
|
||||
import { plugins } from "stores/portal"
|
||||
|
||||
export let plugin
|
||||
export let deletePlugin
|
||||
|
||||
let detailsModal
|
||||
</script>
|
||||
|
@ -74,17 +74,11 @@
|
|||
</div>
|
||||
|
||||
<div class="footer" slot="footer">
|
||||
<Button
|
||||
newStyles
|
||||
on:click={() => plugins.deletePlugin(plugin._id, plugin._rev)}
|
||||
warning>Delete</Button
|
||||
<Button newStyles on:click={() => deletePlugin(plugin)} warning
|
||||
>Delete</Button
|
||||
>
|
||||
|
||||
<Button
|
||||
newStyles
|
||||
on:click={() => plugins.deletePlugin(plugin._id, plugin._rev)}
|
||||
>Update</Button
|
||||
>
|
||||
<Button newStyles>Update</Button>
|
||||
|
||||
<Button cta newStyles on:click={detailsModal.hide()}>Done</Button>
|
||||
</div>
|
||||
|
|
|
@ -17,11 +17,10 @@ export function createPluginsStore() {
|
|||
})
|
||||
}
|
||||
|
||||
async function createPlugin(type, source, name, url, auth = null) {
|
||||
async function createPlugin(type, source, url, auth = null) {
|
||||
let pluginData = {
|
||||
type,
|
||||
source,
|
||||
name,
|
||||
url,
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue