add: filters locations & offerts

This commit is contained in:
Alexandro Uc Santos
2024-10-03 21:32:23 -06:00
parent 0b56a2a223
commit f129acf9e6
9 changed files with 162 additions and 27 deletions

View File

@@ -11,6 +11,7 @@ export default function useAttachments() {
const getAttachmentLoad = async() => {
try {
loading.value = true;
// const endpoint = "/v1" + "/public-load-attachments/load/" + loadStore.currentLoad._id;
const endpoint = "/v1" + "/load-attachments/load/" + loadStore.currentLoad._id;
const {data} = await api.get(endpoint);
attachments.value = data;