fixed a pagination issue when changing filter
This commit is contained in:
@@ -37,6 +37,7 @@ function fetchData() {
|
|||||||
|
|
||||||
function onFilterButtonClick(newstate) {
|
function onFilterButtonClick(newstate) {
|
||||||
currentFilterState.value = newstate;
|
currentFilterState.value = newstate;
|
||||||
|
pageNumber.value = 1;
|
||||||
fetchData();
|
fetchData();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user