0
0
Fork 0

refs #6218 refactor dmsFilter

This commit is contained in:
Carlos Satorres 2023-12-21 08:28:03 +01:00
parent 350bc5a3c9
commit 8499bcbe19
1 changed files with 1 additions and 5 deletions

View File

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