mirror of https://github.com/Budibase/budibase.git
1 changed files with 1 additions and 25 deletions
@ -1,30 +1,6 @@ |
|||||
<script> |
<script> |
||||
// import { createEventDispatcher } from "svelte" |
|
||||
// import { DropdownMenu, TextButton as Button, Icon } from "@budibase/bbui" |
|
||||
import AttachmentList from "../../attachments/AttachmentList.svelte" |
import AttachmentList from "../../attachments/AttachmentList.svelte" |
||||
// import Modal from "./Modal.svelte" |
|
||||
|
|
||||
// const dispatch = createEventDispatcher() |
|
||||
|
|
||||
// let anchor |
|
||||
let dropdown |
|
||||
|
|
||||
export let files |
export let files |
||||
</script> |
</script> |
||||
|
|
||||
<AttachmentList {files} on:delete /> |
<AttachmentList {files} on:delete /> |
||||
<!-- <div bind:this={anchor}> |
|
||||
<Button text small on:click={dropdown.show}> |
|
||||
<Icon name="edit" /> |
|
||||
</Button> |
|
||||
</div> |
|
||||
<DropdownMenu bind:this={dropdown} {anchor} align="left"> |
|
||||
<h5>Edit Attachment(s)</h5> |
|
||||
<Modal |
|
||||
{_bb} |
|
||||
{table} |
|
||||
onClosed={dropdown.hide} |
|
||||
on:newRow={() => dispatch('newRow')} /> |
|
||||
</DropdownMenu> --> |
|
||||
|
|
||||
<!--<style ✂prettier:content✂="CiAgZGl2IHsKICAgIGRpc3BsYXk6IGdyaWQ7CiAgICBncmlkLXRlbXBsYXRlLWNvbHVtbnM6IGF1dG8gYXV0bzsKICAgIHBsYWNlLWl0ZW1zOiBzdGFydCBjZW50ZXI7CiAgfQogIGg1IHsKICAgIHBhZGRpbmc6IHZhcigtLXNwYWNpbmcteGwpIDAgMCB2YXIoLS1zcGFjaW5nLXhsKTsKICAgIG1hcmdpbjogMDsKICAgIGZvbnQtd2VpZ2h0OiA1MDA7CiAgfQo=" ✂prettier:content✂="" ✂prettier:content✂="" ✂prettier:content✂="" ✂prettier:content✂="" ✂prettier:content✂="" ✂prettier:content✂=""></style>--> |
|
||||
Loading…
Reference in new issue