Skip to content

Commit

Permalink
Fixed a small problem in the search method of manage application -- l…
Browse files Browse the repository at this point in the history
…ogin name
  • Loading branch information
JihengLi committed Apr 10, 2024
1 parent 82fede8 commit 0bb69dc
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/Organizer/ApplicantsTab/ApplicantsTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,11 @@ export const ApplicantsTab = () => {
value={selectedKeys[0]}
onChange={e => {
setSelectedKeys(e.target.value ? [e.target.value] : []);
handleSearch(selectedKeys as string[], confirm, dataIndex, false);
confirm({ closeDropdown: false });
setSearchText(e.target.value);
setSearchedColumn(dataIndex);
}}
onPressEnter={() => handleSearch(selectedKeys as string[], confirm, dataIndex, true)}
onPressEnter={() => confirm({ closeDropdown: true })}
style={{ marginBottom: 8, display: 'block' }}
/>
<Button
Expand Down

0 comments on commit 0bb69dc

Please sign in to comment.