From 4c4334aa555393ae384df4f225849986715b239b Mon Sep 17 00:00:00 2001 From: wbuezas Date: Mon, 11 Dec 2023 14:47:15 -0300 Subject: [PATCH] fix QField cant be clicked in extra community table --- src/pages/Travel/ExtraCommunity.vue | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/src/pages/Travel/ExtraCommunity.vue b/src/pages/Travel/ExtraCommunity.vue index 343c86ba0..cef3ed998 100644 --- a/src/pages/Travel/ExtraCommunity.vue +++ b/src/pages/Travel/ExtraCommunity.vue @@ -231,6 +231,12 @@ const navigateToTravelId = (id) => { router.push({ path: `/travel/${id}` }); }; +const stopEventPropagation = (event, col) => { + if (!['ref', 'id', 'supplier'].includes(col.name)) return; + event.preventDefault(); + event.stopPropagation(); +}; + onMounted(async () => { stateStore.rightDrawer = true; @@ -280,7 +286,12 @@ onMounted(async () => { @click="navigateToTravelId(props.row.id)" class="cursor-pointer" > - +