0
0
Fork 0

Ticket expedition initial load fix

This commit is contained in:
William Buezas 2024-07-25 13:55:41 -03:00
parent fdec25dc88
commit 7432396cea
1 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ const ticketData = computed(() => ticketStore.data);
const refetchExpeditions = async () => {
await expeditionsArrayData.applyFilter({
params: { filter: JSON.stringify(expeditionsFilter.value) },
filter: expeditionsFilter.value,
});
};
@ -81,7 +81,7 @@ const applyColumnFilter = async (col) => {
try {
const paramKey = col.columnFilter?.filterParamKey || col.field;
params[paramKey] = col.columnFilter.filterValue;
await expeditionsArrayData.addFilter({ params });
await expeditionsArrayData.addFilter({ filter: expeditionsFilter.value, params });
} catch (err) {
console.error('Error applying column filter', err);
}