mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-05 06:00:31 +00:00
Fix user settings sort not working. Fixes #1050
This commit is contained in:
parent
5b23595710
commit
fbd9adb135
2
ui/src/components/sort-select.tsx
vendored
2
ui/src/components/sort-select.tsx
vendored
@ -65,6 +65,6 @@ export class SortSelect extends Component<SortSelectProps, SortSelectState> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
handleSortChange(i: SortSelect, event: any) {
|
handleSortChange(i: SortSelect, event: any) {
|
||||||
i.props.onChange(event.target.value);
|
i.props.onChange(Number(event.target.value));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
3
ui/src/components/user.tsx
vendored
3
ui/src/components/user.tsx
vendored
@ -152,9 +152,6 @@ export class User extends Component<any, UserState> {
|
|||||||
this.handleUserSettingsListingTypeChange = this.handleUserSettingsListingTypeChange.bind(
|
this.handleUserSettingsListingTypeChange = this.handleUserSettingsListingTypeChange.bind(
|
||||||
this
|
this
|
||||||
);
|
);
|
||||||
this.handleUserSettingsListingTypeChange = this.handleUserSettingsListingTypeChange.bind(
|
|
||||||
this
|
|
||||||
);
|
|
||||||
this.handlePageChange = this.handlePageChange.bind(this);
|
this.handlePageChange = this.handlePageChange.bind(this);
|
||||||
this.handleUserSettingsBioChange = this.handleUserSettingsBioChange.bind(
|
this.handleUserSettingsBioChange = this.handleUserSettingsBioChange.bind(
|
||||||
this
|
this
|
||||||
|
Loading…
Reference in New Issue
Block a user