File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed
src/lib/components/v2/projects/datasets Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 66 import { objectChanged } from ' $lib/common/component_utilities' ;
77 import SlimSelect from ' slim-select' ;
88 import { onDestroy , tick } from ' svelte' ;
9+ import Paginator from ' $lib/components/common/Paginator.svelte' ;
910
1011 /** @type {import('fractal-components/types/api').DatasetV2} */
1112 export let dataset;
683684 < / tbody>
684685 < / table>
685686 < / div>
687+ < div class = " pb-2 bg-white" class: sticky- bottom= {! runWorkflowModal}>
688+ < div class = " row" >
689+ < div class = " col-lg-6" >
690+ < Paginator
691+ currentPage= {imagePage .current_page }
692+ pageSize= {imagePage .page_size }
693+ totalCount= {imagePage .total_count }
694+ onPageChange= {async () => {
695+ await searchImages ();
696+ }}
697+ / >
698+ < / div>
699+ {#if ! runWorkflowModal}
700+ < div class = " col-lg-3" >
701+ < button
702+ class = " btn btn-outline-secondary float-end"
703+ on: click= {() => imageModal? .openForCreate ()}
704+ >
705+ < i class = " bi bi-plus-circle" / >
706+ Add an image list entry
707+ < / button>
708+ < / div>
709+ {/ if }
710+ < / div>
711+ < / div>
686712 < / div>
687713{/ if }
688714
You can’t perform that action at this time.
0 commit comments