mirror of
https://github.com/tubearchivist/tubearchivist-frontend.git
synced 2024-11-22 11:50:14 +00:00
Reset page number when switching to ignored.
This commit is contained in:
parent
3d68f52d5d
commit
b41348d961
@ -81,6 +81,7 @@ const Download: NextPage = () => {
|
|||||||
const handleSetIgnoredStatus = (selectedIgnoredStatus: IgnoredStatus) => {
|
const handleSetIgnoredStatus = (selectedIgnoredStatus: IgnoredStatus) => {
|
||||||
setIgnoredStatus(selectedIgnoredStatus);
|
setIgnoredStatus(selectedIgnoredStatus);
|
||||||
refetch();
|
refetch();
|
||||||
|
handleSetPageNumber(1);
|
||||||
};
|
};
|
||||||
|
|
||||||
const handleSetFormHidden = (selectedFormHidden: FormHidden) => {
|
const handleSetFormHidden = (selectedFormHidden: FormHidden) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user