{#if store.state.jwtinfo.userdetails.permissions.includes("RUNNER:GET")} {#if !dataLoaded} {:else}
{#each $table.getHeaderGroups() as headerGroup} {#each headerGroup.headers as header} {/each} {/each} {#each $table.getRowModel().rows as row} {#each row.getVisibleCells() as cell} {/each} {/each}
{#if !header.isPlaceholder}
{#if header.column.getIsSorted().toString() == "asc"} 🔼 {:else if header.column.getIsSorted().toString() == "desc"} 🔽 {/if}
{/if} {#if header.column.getCanFilter()}
{ header.column.setFilterValue(e.target.value); }} type="text" class="block rounded-md border-gray-200 py-2 pl-8 text-xs focus:border-blue-500 focus:ring-blue-500" placeholder="" />
{/if}
Page
{$table.getState().pagination.pageIndex + 1} of{" "} {$table.getPageCount()}
| Go to page: { const page = e.target.value ? Number(e.target.value) - 1 : 0; $table.setPageIndex(page); }} class="border p-1 rounded w-16" />
{JSON.stringify($table.getState(), null, 2)}
{/if} {/if}