0
0
Fork 0

refs #6772: Improve by ClaimDevelopment

This commit is contained in:
Javier Segarra 2024-04-18 11:48:17 +02:00
parent 459328b28c
commit 51bc3b6cba
2 changed files with 4 additions and 3 deletions

View File

@ -94,7 +94,10 @@ watch(
);
watch(
() => route.params.id,
() => arrayData.reloadRoute()
() => {
arrayData.reloadRoute();
fetch();
}
);
const addFilter = async (filter, params) => {
await arrayData.addFilter({ filter, params });

View File

@ -49,8 +49,6 @@ export function useArrayData(key, userOptions) {
store.filter.where[keyFk] = route.params.id;
}
}
fetch({ append: false });
}
function setOptions() {