Skip to content

Commit 0d28f8a

Browse files
committed
fix again...
1 parent ad6ee6a commit 0d28f8a

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)