diff --git a/ui/src/components/sort-select.tsx b/ui/src/components/sort-select.tsx index 22942d1bb..736cbb30f 100644 --- a/ui/src/components/sort-select.tsx +++ b/ui/src/components/sort-select.tsx @@ -24,8 +24,9 @@ export class SortSelect extends Component { } static getDerivedStateFromProps(props) { + console.log('sort-select', props); return { - sort: props.sort, + sort: Number(props.sort), }; }