Skip to content

Commit c5ac93e

Browse files
author
Guillaume Chau
committed
fix(suggestions): refresh list when locale changes
1 parent 8e6622f commit c5ac93e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/@vue/cli-ui/src/components/SuggestionBar.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<transition-group name="suggestion" class="suggestions">
4242
<SuggestionBarItem
4343
v-for="suggestion of withBuiltins(data.suggestions)"
44-
:key="suggestion.id"
44+
:key="`${$i18n.locale}:${suggestion.id}`"
4545
:suggestion="suggestion"
4646
/>
4747
</transition-group>

0 commit comments

Comments
 (0)