File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -41,9 +41,7 @@ function isCategoryNoneSelected(category: string): boolean {
4141 :data-facet-category =" category"
4242 :aria-label =" `${$t('compare.facets.all')} ${getCategoryLabel(category)}`"
4343 :aria-disabled =" isCategoryAllSelected(category)"
44- :class =" {
45- 'opacity-40 cursor-not-allowed border-transparent': isCategoryAllSelected(category),
46- }"
44+ class =" aria-disabled:(opacity-40 border-transparent)"
4745 @click =" !isCategoryAllSelected(category) && selectCategory(category)"
4846 >
4947 {{ $t('compare.facets.all') }}
@@ -57,9 +55,7 @@ function isCategoryNoneSelected(category: string): boolean {
5755 :data-facet-category =" category"
5856 :aria-label =" `${$t('compare.facets.none')} ${getCategoryLabel(category)}`"
5957 :aria-disabled =" isCategoryNoneSelected(category)"
60- :class =" {
61- 'opacity-40 cursor-not-allowed border-transparent': isCategoryNoneSelected(category),
62- }"
58+ class =" aria-disabled:(opacity-40 border-transparent)"
6359 @click =" !isCategoryNoneSelected(category) && deselectCategory(category)"
6460 >
6561 {{ $t('compare.facets.none') }}
You can’t perform that action at this time.
0 commit comments