mirror of
https://github.com/flarum/framework.git
synced 2025-05-30 12:05:47 +08:00
Fix sort menu not displaying the current option
This commit is contained in:
@ -160,7 +160,7 @@ export default class IndexPage extends Component {
|
|||||||
items.add('sort',
|
items.add('sort',
|
||||||
SelectInput.component({
|
SelectInput.component({
|
||||||
options: sortOptions,
|
options: sortOptions,
|
||||||
value: this.params.sort,
|
value: this.params().sort,
|
||||||
onchange: this.reorder.bind(this)
|
onchange: this.reorder.bind(this)
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user