refs #6128 recharge photo #134

Merged
carlossa merged 3 commits from 6128-rechargePhotos into dev 2023-12-21 13:19:43 +00:00
1 changed files with 1 additions and 5 deletions
Showing only changes of commit 8499bcbe19 - Show all commits

View File

@ -42,7 +42,7 @@ onMounted(async () => {
}); });
watch(entityId, async (id) => { watch(entityId, async (id) => {
setDmsFilter(id); claimDmsFilter.value.where = { claimFk: id };
await claimDmsRef.value.fetch(); await claimDmsRef.value.fetch();
}); });
@ -141,10 +141,6 @@ const claimDms = ref([]);
const multimediaDialog = ref(); const multimediaDialog = ref();
const multimediaSlide = ref(); const multimediaSlide = ref();
function setDmsFilter(id = entityId.value) {
claimDmsFilter.value.where = { claimFk: id };
}
function setClaimDms(data) { function setClaimDms(data) {
claimDms.value = []; claimDms.value = [];
carlossa marked this conversation as resolved Outdated
Outdated
Review

Esta linea se pot ficar en la 45 i llevar la funcio

Esta linea se pot ficar en la 45 i llevar la funcio
data.forEach((media) => { data.forEach((media) => {