{title}

{#if !fileCollections.length}
You currently don't have any collection with file field.
{:else}
(filter = e.detail)} />
{ if (canLoadMore) { loadList(); } }, }} > {#if hasAtleastOneFile} {#each list as record (record.id)} {@const names = extractFiles(record)} {#each names as name} {/each} {/each} {:else if !isLoading}
No records found. {#if filter?.length} {/if}
{/if} {#if isLoading}
{/if}
{/if} {#if CommonHelper.hasImageExtension(selectedFile?.name)} {/if}
{ CommonHelper.removeByKey(list, "id", e.detail.record.id); list.unshift(e.detail.record); list = list; const names = extractFiles(e.detail.record); if (names.length > 0) { select(e.detail.record, names[0]); } }} on:delete={(e) => { if (selectedFile?.record?.id == e.detail.id) { selectedFile = {}; } CommonHelper.removeByKey(list, "id", e.detail.id); list = list; }} />