fixes: vehicles & proposals

This commit is contained in:
Alexandro Uc Santos
2024-08-02 19:05:46 -06:00
parent 0870d96f73
commit 75af1a9bf4
10 changed files with 35 additions and 30 deletions

View File

@@ -175,7 +175,7 @@ export const useCompanyStore = defineStore('company', () => {
try {
if(proposals.value.length <= 0 || reload) {
const endpoint = `/v1/proposals/find?carrier=${companyId}&${filter}&$sort%5BcreatedAt%5D=-1`;
console.log(endpoint)
// console.log(endpoint)
const {data} = await api.get(endpoint);
proposals.value = data.data;
proposalsTotal.value = data.total;