From 95e4899ae043275590d7af560e28918dfdc6d2f0 Mon Sep 17 00:00:00 2001 From: Ernest Walzel Date: Thu, 25 Apr 2024 16:03:07 +0200 Subject: [PATCH 1/2] Change icon for ResetButton --- .../js/components/catalog-new/ResetButton.vue | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) diff --git a/resources/js/components/catalog-new/ResetButton.vue b/resources/js/components/catalog-new/ResetButton.vue index 0cf75e823..e950560ad 100644 --- a/resources/js/components/catalog-new/ResetButton.vue +++ b/resources/js/components/catalog-new/ResetButton.vue @@ -14,12 +14,23 @@ const props = defineProps<{ > - + + + + + + + + From 6bb553102e6c1d4381c67c305c525ea72e863701 Mon Sep 17 00:00:00 2001 From: Ernest Walzel Date: Thu, 25 Apr 2024 16:11:22 +0200 Subject: [PATCH 2/2] Default label for ResetButton & update for reset-all --- .../js/components/catalog-new/ResetButton.vue | 4 ++-- .../views/frontend/catalog-new/index.blade.php | 16 +--------------- 2 files changed, 3 insertions(+), 17 deletions(-) diff --git a/resources/js/components/catalog-new/ResetButton.vue b/resources/js/components/catalog-new/ResetButton.vue index e950560ad..f07dda287 100644 --- a/resources/js/components/catalog-new/ResetButton.vue +++ b/resources/js/components/catalog-new/ResetButton.vue @@ -6,7 +6,7 @@ const props = defineProps<{ diff --git a/resources/views/frontend/catalog-new/index.blade.php b/resources/views/frontend/catalog-new/index.blade.php index b9403c423..97945761a 100644 --- a/resources/views/frontend/catalog-new/index.blade.php +++ b/resources/views/frontend/catalog-new/index.blade.php @@ -132,7 +132,6 @@ class="tw-flex tw-justify-end"> - {{ trans('item.filter.clear') }} - {{ trans('item.filter.clear') }} - {{ trans('item.filter.clear') }} @endslot @@ -425,7 +422,6 @@ class="tw-flex tw-justify-center"> - {{ trans('item.filter.clear') }} @endslot @@ -482,7 +478,6 @@ class="tw-pb-2" - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -514,7 +509,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -546,7 +540,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -577,7 +570,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -609,7 +601,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -638,7 +629,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -670,7 +660,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -702,7 +691,6 @@ class="tw-inset-x-0 tw-box-border tw-flex tw-min-h-0 tw-flex-1 tw-flex-col tw-ov - {{ trans('item.filter.clear') }} @endslot @slot('body') @@ -809,9 +797,7 @@ class="tw-h-4 tw-w-4 tw-fill-current" viewBox="0 0 256 256"> class="mb-4"> - {{ trans('item.filter.clear') }} - + {{ trans('item.filter.clear_all') }}