add: search vehicles view & fixes: bugs state

This commit is contained in:
Alexandro Uc Santos
2024-08-17 18:56:22 -06:00
parent 3cd6715c4b
commit 84c0595f5b
24 changed files with 392 additions and 75 deletions

View File

@@ -17,7 +17,7 @@ export default function useSearchLoads() {
}
try {
const endpoint = `/v1/loads/find${filterStr}&$sort[createdAt]=-1`;
console.log(endpoint);
// console.log(endpoint);
const {data} = await api.get(endpoint);
total.value = data.total;
loads.value = data.data;