Skip to content
This repository was archived by the owner on Dec 30, 2022. It is now read-only.

Commit 578c9ab

Browse files
committed
feat(tree-menu): add class to list element
1 parent d511d03 commit 578c9ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/vue-instantsearch-tree-menu/src/TreeMenu.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<slot name="header"></slot>
55

6-
<ul v-if="facetValues.length > 0">
6+
<ul :class="bem('list')" v-if="facetValues.length > 0">
77
<li v-for="facet in facetValues" :class="[bem('item'), facet.isRefined ? bem('item', 'active') : '']" >
88

99
<a href="#" @click.prevent="toggleRefinement(facet)">

0 commit comments

Comments
 (0)