ui.components.sort-select: always parse to number

pull/959/head
derek 4 years ago
parent 602993ac76
commit 563a66b053

@ -24,8 +24,9 @@ export class SortSelect extends Component<SortSelectProps, SortSelectState> {
}
static getDerivedStateFromProps(props) {
console.log('sort-select', props);
return {
sort: props.sort,
sort: Number(props.sort),
};
}

Loading…
Cancel
Save