Fix user settings sort not working. Fixes #1050

This commit is contained in:
Dessalines 2020-08-02 10:33:14 -04:00
parent 5b23595710
commit fbd9adb135
2 changed files with 1 additions and 4 deletions

View File

@ -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));
} }
} }

View File

@ -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