{#if assets.length > 0}
{#if viewWidth} {#each assets as asset, index (asset.id)} {@const box = geometry.boxes[index]}
(isMultiSelectionMode ? selectAssetHandler(e) : viewAssetHandler(e))} on:select={selectAssetHandler} selected={selectedAssets.has(asset)} {showArchiveIcon} />
{/each} {/if}
{/if} {#if isShowAssetViewer}
{/if}