File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
_standalone/ProcessOverview Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 1515 total: number ;
1616 changePage: Function ;
1717 } = $props ();
18- const totalAmountOfButtons: number = total / size ;
18+ const totalAmountOfButtons: number = Math . ceil ( total / size ) ;
1919 const totalAmountOfPagesAsIntegerArray = Array .from (
2020 { length: totalAmountOfButtons },
2121 (_ , i ) => i + 1
3535>
3636 <div class =" min-w-[200px] flex items-center text-sm dark:text-gray-300" >
3737 <!-- Todo find a way to handle placeholders -->
38- <span >{size * page - size }- {size * page } {t (' of' )} {total }</span >
38+ <span >{size * page - size }– {size * page } {t (' of' )} {total }</span >
3939 </div >
4040 <div class =" flex items-center space-x-2" >
4141 <PaginationButton
Original file line number Diff line number Diff line change 77 import ErrorBanner from ' $lib/ErrorBanner.svelte' ;
88 import Pagination from ' ./Pagination.svelte' ;
99
10- const { page_size, data_url } = config ;
10+ const { page_size = ' 10 ' , data_url } = config ;
1111
1212 let error: boolean = $state (false );
1313 let data: ProgressData | null = $state (null );
Original file line number Diff line number Diff line change 4343 class =" hover:bg-neutral-300 dark:hover:bg-gray-800 border-b border-neutral-300 dark:border-neutral-800"
4444 >
4545 {#each row as cell , i }
46- {#if cell .status }
46+ {#if ' step ' === cell .type }
4747 <TableCell
4848 {cell }
4949 {row }
You can’t perform that action at this time.
0 commit comments