forked from verdnatura/salix-front
refs #6772: Improve by ClaimDevelopment
This commit is contained in:
parent
459328b28c
commit
51bc3b6cba
|
@ -94,7 +94,10 @@ watch(
|
||||||
);
|
);
|
||||||
watch(
|
watch(
|
||||||
() => route.params.id,
|
() => route.params.id,
|
||||||
() => arrayData.reloadRoute()
|
() => {
|
||||||
|
arrayData.reloadRoute();
|
||||||
|
fetch();
|
||||||
|
}
|
||||||
);
|
);
|
||||||
const addFilter = async (filter, params) => {
|
const addFilter = async (filter, params) => {
|
||||||
await arrayData.addFilter({ filter, params });
|
await arrayData.addFilter({ filter, params });
|
||||||
|
|
|
@ -49,8 +49,6 @@ export function useArrayData(key, userOptions) {
|
||||||
store.filter.where[keyFk] = route.params.id;
|
store.filter.where[keyFk] = route.params.id;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fetch({ append: false });
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function setOptions() {
|
function setOptions() {
|
||||||
|
|
Loading…
Reference in New Issue