add: proposal status in card

This commit is contained in:
Alexandro Uc Santos
2025-09-25 21:03:01 -06:00
parent 36238772d6
commit e7c7e87c05
4 changed files with 45 additions and 4 deletions

View File

@@ -5,6 +5,8 @@
import { useLoadsStore } from '../stores/loads';
import { useI18n } from 'vue-i18n';
const baseUrl = import.meta.env.VITE_API_URL;
const loadStore = useLoadsStore();
const { getAttachmentLoad, loading, attachments } = useAttachments();
@@ -46,7 +48,7 @@
<p v-if="data.type == 'Loading'">{{ t('evidence.loadEvidence') }}</p>
<p v-else>{{ t('evidence.downloadEvidence') }}</p>
<img
:src="`https://api.etaviaporte.com/api/v1/public-load-attachments/download/${data._id}`"
:src="`${baseUrl}/v1/public-load-attachments/download/${data._id}`"
:alt="data.type"
/>
</div>