forked from verdnatura/salix-front
Merge branch '6825-vnTable' of https://gitea.verdnatura.es/verdnatura/salix-front into 7406-workerFormation
This commit is contained in:
commit
6f723af338
|
@ -112,7 +112,7 @@ async function addFilter(value) {
|
|||
if (columnFilter.value.alias) field = columnFilter.value.alias + '.' + field;
|
||||
return await arrayData.addFilterWhere({ [field]: value });
|
||||
}
|
||||
await arrayData.addFilter({ [field]: value });
|
||||
await arrayData.addFilter({ params: { [field]: value } });
|
||||
}
|
||||
|
||||
function alignRow() {
|
||||
|
|
|
@ -18,10 +18,6 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
|||
|
||||
const page = ref(1);
|
||||
|
||||
onUnmounted(() => {
|
||||
destroy();
|
||||
});
|
||||
|
||||
onMounted(() => {
|
||||
setOptions();
|
||||
store.skip = 0;
|
||||
|
@ -222,7 +218,6 @@ export function useArrayData(key = useRoute().meta.moduleName, userOptions) {
|
|||
: path.replace(/:id.*/, '');
|
||||
|
||||
if (route.path != to) {
|
||||
destroy();
|
||||
const pushUrl = { path: to };
|
||||
if (to.endsWith('/list') || to.endsWith('/'))
|
||||
pushUrl.query = newUrl.query;
|
||||
|
|
Loading…
Reference in New Issue