From 6c4901076fa5188f026a953fba16564dfa26550c Mon Sep 17 00:00:00 2001 From: wbuezas Date: Thu, 18 Apr 2024 13:14:23 -0300 Subject: [PATCH] Apply ItemsFilterPanel to EntryLatestBuys --- src/components/ItemsFilterPanel.vue | 6 +- src/composables/useArrayData.js | 7 +- src/i18n/locale/en.yml | 10 +- src/i18n/locale/es.yml | 10 +- src/pages/Entry/EntryLatestBuys.vue | 2 +- src/pages/Entry/EntryLatestBuysFilter.vue | 367 +--------------------- src/pages/Item/ItemFixedPrice.vue | 1 - 7 files changed, 40 insertions(+), 363 deletions(-) diff --git a/src/components/ItemsFilterPanel.vue b/src/components/ItemsFilterPanel.vue index c6df0c1e0..f7f07a5b0 100644 --- a/src/components/ItemsFilterPanel.vue +++ b/src/components/ItemsFilterPanel.vue @@ -20,6 +20,10 @@ const props = defineProps({ type: Array, default: () => [], }, + exprBuilder: { + type: Function, + default: null, + }, }); const itemCategories = ref([]); @@ -156,8 +160,6 @@ const removeTag = (index, params, search) => { :data-key="props.dataKey" :expr-builder="exprBuilder" :custom-tags="customTags" - @init="onFilterInit" - @remove="clearFilter" >