Skip to content

Commit

Permalink
Merge pull request UnlockedLabs#181 from techeclecticdesign/main
Browse files Browse the repository at this point in the history
fix(176): fix bug in User search
  • Loading branch information
PThorpe92 authored Apr 8, 2024
2 parents 7f527a7 + 0218f4c commit 368c2a8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/js/Pages/Users.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,10 @@ export default function Users({ auth }: PageProps) {
placeholder="Search..."
className="input input-bordered w-full max-w-xs input-sm"
value={searchTerm}
onChange={(e) => setSearchTerm(e.target.value)}
onChange={(e) => {
setSearchTerm(e.target.value);
setPageQuery(1);
}}
/>
<div className="tooltip tooltip-left" data-tip="Add User">
<button
Expand Down

0 comments on commit 368c2a8

Please sign in to comment.