{ setAsset(assets[0]); }, }, { shortcut: { key: 'd' }, onShortcut: onSelectNone }, { shortcut: { key: 'c', shift: true }, onShortcut: handleResolve }, { shortcut: { key: 's', shift: true }, onShortcut: handleStack }, ]} />
{#if trashCount === 0} {:else} {/if}
{#each assets as asset (asset.id)} setAsset(asset)} /> {/each}
{#if $showAssetViewer} {#await import('$lib/components/asset-viewer/asset-viewer.svelte') then { default: AssetViewer }} 1} {onNext} {onPrevious} {onRandom} onClose={() => { assetViewingStore.showAssetViewer(false); handlePromiseError(navigate({ targetRoute: 'current', assetId: null })); }} /> {/await} {/if}