Skip to content

Commit

Permalink
minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ryota-cloud committed Feb 12, 2025
1 parent 71f810b commit a4b52b2
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,11 @@ export const IngestionSourceList = () => {
const [sort, setSort] = useState<SortCriterion>();
const [hideSystemSources, setHideSystemSources] = useState(true);

// When source filter changes, reset page to 1
useEffect(() => {
setPage(1);
}, [sourceFilter]);

/**
* Show or hide system ingestion sources using a hidden command S command.
*/
Expand Down

0 comments on commit a4b52b2

Please sign in to comment.