pasteAction(ev)}
on:dragover|preventDefault={() => {}}
on:dragleave={() => {}}
on:drop|preventDefault|stopPropagation={(ev) => {
void fileDrop(ev)
}}
>
{
const doc = await client.findOne(event.detail._class, { _id: event.detail._id })
if (doc != null) {
const location = await getObjectLinkFragment(client.getHierarchy(), doc, {}, view.component.EditDoc)
navigate(location)
}
}}
on:focus
on:blur
on:update
/>
{#if (attachments.length > 0 && enableAttachments) || progress}
{
if (evt.detail !== undefined) {
await removeAttachment(evt.detail)
}
}}
/>
{/if}
{/key}