Skip to content

Commit

Permalink
reset selected process on search (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
erayerdin authored Oct 20, 2023
1 parent 6796b4e commit 9432277
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/process-list/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ function ProcessListPage() {
placeholder="Search for processes"
onChange={(e) => {
console.log("Process search has changed.");
setSelectedProcess(null);
const value = e.target.value;
setFilterText(value);
}}
Expand Down

0 comments on commit 9432277

Please sign in to comment.