Translate suggestion when creating a list

This commit is contained in:
Roman Cervantes 2019-06-27 12:13:45 -07:00
parent f4bae1f19b
commit 2cf7462c5c

View file

@ -28,7 +28,7 @@
:key="suggestion"
type="button"
:disabled="listNames.includes(suggestion.toLowerCase())"
@click="addSuggestion(suggestion)"
@click="addSuggestion($t(`list.suggestions.${suggestion}`))"
>
{{ $t(`list.suggestions.${suggestion}`) }}
</button>