From 8dad1225758a74fc6a79f8c8a7c2cc728f8295eb Mon Sep 17 00:00:00 2001 From: Raphael Odini Date: Sun, 31 Mar 2024 00:19:11 +0100 Subject: [PATCH] refactor: new ProductFilterMenu component (#479) --- src/components/ProductFilterMenu.vue | 33 ++++++++++++++++++++++++++++ src/views/BrandDetail.vue | 13 ++--------- src/views/CategoryDetail.vue | 13 ++--------- src/views/ProductList.vue | 16 +++----------- 4 files changed, 40 insertions(+), 35 deletions(-) create mode 100644 src/components/ProductFilterMenu.vue diff --git a/src/components/ProductFilterMenu.vue b/src/components/ProductFilterMenu.vue new file mode 100644 index 00000000000..35cc6c3a067 --- /dev/null +++ b/src/components/ProductFilterMenu.vue @@ -0,0 +1,33 @@ + + + diff --git a/src/views/BrandDetail.vue b/src/views/BrandDetail.vue index 36cba88d3ed..c69afa6a2d8 100644 --- a/src/views/BrandDetail.vue +++ b/src/views/BrandDetail.vue @@ -30,16 +30,7 @@ - - - - - {{ $t('Common.' + filter.value) }} - - - +