Skip to content

Commit

Permalink
This fixes the table columns and manage the shared sessions
Browse files Browse the repository at this point in the history
  • Loading branch information
antolinos committed Dec 11, 2024
1 parent 69eba95 commit 9b21b20
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions ui/src/components/LoginForm/SelectProposal.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ class SelectProposal extends React.Component {
pId: 0,
pNumber: null,
session: null,
filter: null,
filterQuery: null,
};
}

Expand Down Expand Up @@ -53,19 +53,20 @@ class SelectProposal extends React.Component {
);
});
}

handleChange(event) {
const filter = event.target.value;
const filterQuery = event.target.value;
this.setState({
filter,
filterQuery,
});
}

render() {
/** sort by start date */

let { proposalList } = this.props.data;
if (this.state.filter) {
proposalList = this.filter(proposalList, this.state.filter);
if (this.state.filterQuery) {
proposalList = this.filter(proposalList, this.state.filterQuery);
}
// this.props.data.proposalList
const sortedlist = proposalList.sort((a, b) =>
Expand Down

0 comments on commit 9b21b20

Please sign in to comment.