Simple Filter
-
+
+
+
From 2676ca5379a5f2056f4c20bc2da34e38c03d6ddb Mon Sep 17 00:00:00 2001
From: Andrea Delgado <114981520+andreadlgdo@users.noreply.github.com>
Date: Wed, 26 Jun 2024 10:52:38 +0200
Subject: [PATCH 10/15] refactor: change name
---
.../src/x-modules/facets/components/filters/simple-filter.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue b/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
index 3bd52a4ef0..a2cf3805a2 100644
--- a/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
+++ b/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
@@ -68,7 +68,7 @@
},
setup(props) {
/** The {@link XEventsTypes} to emit. */
- const clickEventsEmit = computed(() => ({
+ const clickEventsToEmit = computed(() => ({
UserClickedASimpleFilter: props.filter,
...props.clickEvents
}));
@@ -79,7 +79,7 @@
}));
return {
- clickEventsEmit,
+ clickEventsToEmit,
cssClasses
};
}
From 16f5b889853a561594c1bc97bcffd58971086657 Mon Sep 17 00:00:00 2001
From: Andrea Delgado <114981520+andreadlgdo@users.noreply.github.com>
Date: Wed, 26 Jun 2024 11:43:29 +0200
Subject: [PATCH 11/15] fix: problem in the template
---
.../src/x-modules/facets/components/filters/simple-filter.vue | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue b/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
index a2cf3805a2..2d31c6d385 100644
--- a/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
+++ b/packages/x-components/src/x-modules/facets/components/filters/simple-filter.vue
@@ -2,7 +2,7 @@