From 8499bcbe19f44b5b5d86d13727eeee5145040eba Mon Sep 17 00:00:00 2001 From: carlossa Date: Thu, 21 Dec 2023 08:28:03 +0100 Subject: [PATCH] refs #6218 refactor dmsFilter --- src/pages/Claim/Card/ClaimSummary.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index ab88c4261..412bf240c 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -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) => {