(wSection = element.clientWidth)}>
{#if !loading && (attachments === null || attachments === 0) && !readonly}
{:else if wSection < 640}
{
attachments = evt.detail.length
}}
{readonly}
/>
{:else}
{
attachments = evt.detail.length
}}
{readonly}
/>
{/if}