mirror of
https://github.com/flarum/framework.git
synced 2025-02-21 07:50:24 +08:00
Fix sort menu not displaying the current option
This commit is contained in:
parent
2180e15757
commit
4ded9906bd
@ -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)
|
||||
})
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user