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

Commit

Permalink
perf(menu): use facet name as key
Browse files Browse the repository at this point in the history
  • Loading branch information
rayrutjes committed Oct 30, 2017
1 parent f1ac0a7 commit b496fd8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/Menu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<slot name="header"></slot>

<div
v-for="(facet, key) in facetValues"
:key="key"
v-for="facet in facetValues"
:key="facet.name"
:class="facet.isRefined ? bem('item', 'active') : bem('item')"
>
<a
Expand Down

0 comments on commit b496fd8

Please sign in to comment.