{#if images.length === 0}
No images found
{:else}
{#each images as file (file.path)} {@const thumbUrl = flashair.thumbnailUrl(file.path)} {@const isSelected = file.path === selectedPath}
onSelect(file)} > {#if thumbUrl}
{:else}
🖼️
{/if}
{file.filename}
{file.date.toLocaleDateString()}
{file.date.toLocaleTimeString()}
{/each}
{/if}