{#if gallery}
{#each selected_samples as sample_row, i}
{/each}
{:else}
{#each headers as header}
{header}
|
{/each}
{#each selected_samples as sample_row, i}
{
value = i;
dispatch("click", i + page * samples_per_page);
}}
>
{#each sample_row as sample_cell, j}
|
{/each}
{/each}
{/if}
{#if paginate}
Pages:
{#each visible_pages as visible_page}
{#if visible_page === -1}
...
{:else}
{/if}
{/each}
{/if}