Skip to content

Commit

Permalink
OpenConceptLab/ocl_issues#725 | updated tooltip for date filter
Browse files Browse the repository at this point in the history
  • Loading branch information
snyaggarwal committed May 4, 2021
1 parent 07da3fd commit f5a3571
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/common/ChipDatePicker.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const ChipDatePicker = props => {


return (
<Tooltip title='Updated Since'>
<Tooltip title={props.tooltip || 'Updated Since'}>
<span id='chip-date-picker'>
<span id='hidden-date-html5'>
<Chip
Expand Down
8 changes: 7 additions & 1 deletion src/components/imports/ExistingImports.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,13 @@ const ExistingImports = ({isLoading, onRefresh, onRevoke, onDownload, tasks, err
/>
</div>
<div className='col-md-3 no-side-padding' style={{textAlign: 'left'}}>
<ChipDatePicker onChange={onDateChange} label={getDateText()} date={date} size='medium' />
<ChipDatePicker
tooltip="Filter by date"
onChange={onDateChange}
label={getDateText()}
date={date}
size='medium'
/>
</div>
</div>
<Collapse in={openFilters} className='col-md-12' style={{padding: '0px', display: openFilters ? 'block' : 'none', marginBottom: openFilters ? '10px' : '0px'}}>
Expand Down

0 comments on commit f5a3571

Please sign in to comment.