web: component: fix FilterInput
This commit is contained in:
parent
d440e0d3ed
commit
5085f8d3d4
@ -258,7 +258,7 @@ class FilterInput extends React.Component {
|
||||
options={this.props.getSortData()}
|
||||
isDisabled={this.props.isDisabled}
|
||||
onSelect={this.onClickSortItem}
|
||||
selectedOption={this.state.sortId}
|
||||
selectedOption={this.props.getSortData().length > 0 ? this.props.getSortData()[0] : {}}
|
||||
onButtonClick={this.onSortDirectionClick}
|
||||
sortDirection={this.state.sortDirection}
|
||||
/>
|
||||
|
Loading…
Reference in New Issue
Block a user