diff --git a/src/components/FilterItemForm.vue b/src/components/FilterItemForm.vue index b4c928ca8..45493100b 100644 --- a/src/components/FilterItemForm.vue +++ b/src/components/FilterItemForm.vue @@ -78,7 +78,7 @@ const tableColumns = computed(() => [ }, ]); -const fetchResults = async () => { +const onSubmit = async () => { try { let filter = itemFilter; const params = itemFilterParams; @@ -140,11 +140,7 @@ const selectItem = ({ id }) => { @on-fetch="(data) => (InksOptions = data)" auto-load /> - + diff --git a/src/components/FilterTravelForm.vue b/src/components/FilterTravelForm.vue index c005acde1..45c79bb08 100644 --- a/src/components/FilterTravelForm.vue +++ b/src/components/FilterTravelForm.vue @@ -85,7 +85,7 @@ const tableColumns = computed(() => [ }, ]); -const fetchResults = async () => { +const onSubmit = async () => { try { let filter = travelFilter; const params = travelFilterParams; @@ -138,11 +138,7 @@ const selectTravel = ({ id }) => { @on-fetch="(data) => (warehousesOptions = data)" auto-load /> - +