{#if activeTab === 'stacks'}
{#if pending} {:else if error} {:else if groups.length === 0} {#snippet descriptionSnippet()}

PhotoPrism stacks byte-identical (or EXIF-identical) files. If you don't have any, this tab stays empty. Cross-folder copies PhotoPrism rejected at index time live under the Cross-folder tab.

{/snippet}
{:else}
{#each groups as group, i (group.photo.UID)} {/each}
{/if}
{/if} {#if activeTab === 'cross-folder'}

Byte-identical files PhotoPrism dropped at index time. Found by scanning the originals tree directly.

{#if crossQuery.isFetching && !crossQuery.data} {:else if crossQuery.isError} {:else if crossCount === 0} {#snippet descriptionSnippet()} {#if crossQuery.data}

scanned in {crossQuery.data.scannedMs} ms

{/if} {/snippet}
{:else}
{#each crossQuery.data?.groups ?? [] as group, i (group.hash)} {/each}
{/if}
{/if}