Fix sort menu not displaying the current option

This commit is contained in:
Toby Zerner 2015-06-11 18:38:48 +09:30
parent 16c714012f
commit ac83cb1cf4

View File

@ -160,7 +160,7 @@ export default class IndexPage extends Component {
items.add('sort',
SelectInput.component({
options: sortOptions,
value: this.params.sort,
value: this.params().sort,
onchange: this.reorder.bind(this)
})
);