Skip to content

Commit 1055ede

Browse files
committed
Merge branch 'master' of github.com:connorabbas/laravel-inertia-primevue into admin-develop
2 parents 2010009 + 4b763df commit 1055ede

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

resources/js/Composables/usePaginatedData.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,6 @@ export function usePaginatedData(
108108
}
109109

110110
function reset() {
111-
window.history.replaceState(null, '', window.location.pathname);
112111
filters.value = defaultFilters;
113112
sorting.value = {
114113
field: '',
@@ -118,9 +117,7 @@ export function usePaginatedData(
118117
page: 1,
119118
rows: initialsRows,
120119
};
121-
router.reload({
122-
only: ['request', ...new Set(only)],
123-
});
120+
fetchData();
124121
}
125122

126123
function parseUrlFilterValues() {

0 commit comments

Comments
 (0)