permission in vehicles

This commit is contained in:
Alexandro Uc Santos
2024-03-21 20:36:04 -06:00
parent 1c4962d72a
commit 9b8fb0aac0
4 changed files with 5 additions and 4 deletions

View File

@@ -147,7 +147,7 @@
</div>
</div>
</div>
<div v-else>
<div v-if="nOfLoads <= 0 && loading === false">
<CardEmpty text="No hay suficientes datos para generar un analisis de cargas"/>
</div>
</template>

View File

@@ -37,6 +37,7 @@
isLoading.value = true;
const filter = "?shipment_code[$in]=" + route.params['code'];
const resp = await loadStore.getLoad(filter);
console.log(resp);
if(resp.total > 0) {
load.value = resp.data[0];
originCoords.value = await geocodeAddress(load.value.origin_formatted_address);