add: search vehicles view & fixes: bugs state
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user