change(ui) - sessions daterange

This commit is contained in:
Shekar Siri 2022-06-08 16:55:29 +02:00
parent 4188b7894d
commit a461ad0938
2 changed files with 2 additions and 2 deletions

View file

@ -60,4 +60,4 @@ export default connect(state => ({
activeTab: state.getIn([ 'search', 'activeTab' ]),
period: state.getIn([ 'search', 'period' ]),
filter: state.getIn([ 'search', 'instance' ]),
}), { applyFilter })(SessionListHeader);
}), { applyFilter })(SessionListHeader);

View file

@ -37,7 +37,7 @@ function SelectDateRange(props: Props) {
plain
value={selectedValue}
options={options}
onChange={({ value }: any) => onChange(value)}
onChange={({ value }: any) => onChange(value.value)}
components={{ SingleValue: ({ children, ...props} : any) => {
return (
<components.SingleValue {...props}>