File tree Expand file tree Collapse file tree
apps/web/src/routes/_app/datahub Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3,10 +3,12 @@ import React, { useState } from 'react';
33import { toBasicISOString } from '@douglasneuroinformatics/libjs' ;
44import {
55 ActionDropdown ,
6+ Button ,
67 Checkbox ,
78 ClientTable ,
89 Dialog ,
910 Heading ,
11+ Label ,
1012 SearchBar
1113} from '@douglasneuroinformatics/libui/components' ;
1214import { useDownload , useNotificationsStore , useTranslation } from '@douglasneuroinformatics/libui/hooks' ;
@@ -209,9 +211,14 @@ const RouteComponent = () => {
209211 />
210212 </ div >
211213 < div className = "flex min-w-60 gap-2 lg:shrink" >
212- < Checkbox id = "Datahub table search mode" onCheckedChange = { ( ) => setLookUpSearch ( ! isLookUpSearch ) } >
213- Table Search Mode
214- </ Checkbox >
214+ < Checkbox
215+ id = "Datahub table search mode"
216+ onCheckedChange = { ( ) => setLookUpSearch ( ! isLookUpSearch ) }
217+ > </ Checkbox >
218+ < Label > Enable Datahub Table Search</ Label >
219+ </ div >
220+ < div className = "flex min-w-60 gap-2 lg:shrink" >
221+ < Button label = "Reset Datahub" onClick = { ( ) => void setTableData ( data ) } />
215222 </ div >
216223 </ div >
217224 < MasterDataTable
You can’t perform that action at this time.
0 commit comments