From 2f4f56730426e8aafd4d5df4e9ff1d5a59dcdb05 Mon Sep 17 00:00:00 2001 From: Bhargav Date: Mon, 7 Jul 2025 13:55:59 +0530 Subject: [PATCH] fix: fix for list item not clickable outside text (#7469) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ### **PR Type** Bug fix ___ ### **Description** - Expand clickable area for list items - Move include/exclude handlers to q-item - Remove redundant label click directives - Add click.stop to addFieldToTable item ___ ### **Changes walkthrough** 📝
Relevant files
Bug fix
JsonPreview.vue
Expand clickable area on list items                                           

web/src/plugins/logs/JsonPreview.vue
  • Moved @click.stop handlers from q-item-label to q-item
  • Removed redundant v-close-popup and click directives on labels
  • Added @click.stop to q-item for addFieldToTable action
  • +3/-8     
    ___ >
    Need help?
  • Type /help how to ... in the comments thread for any questions about PR-Agent usage.
  • Check out the documentation for more information.
  • --- web/src/plugins/logs/JsonPreview.vue | 21 +++++++-------------- 1 file changed, 7 insertions(+), 14 deletions(-) diff --git a/web/src/plugins/logs/JsonPreview.vue b/web/src/plugins/logs/JsonPreview.vue index a981ff0a22..c000336803 100644 --- a/web/src/plugins/logs/JsonPreview.vue +++ b/web/src/plugins/logs/JsonPreview.vue @@ -139,13 +139,11 @@ item.name === key ? item.isSchemaField : '', ) && multiStreamFields.includes(key) " + @click.stop="addSearchTerm(key, value[key], 'include')" + data-test="log-details-include-field-btn" > - - + -