translating new mealtypes

This commit is contained in:
Kaibu
2021-11-03 23:55:39 +01:00
parent 2215e06506
commit dd5509f5b4
3 changed files with 5 additions and 3 deletions

View File

@@ -421,7 +421,7 @@ export default {
newMealType() {
let apiClient = new ApiApiFactory()
apiClient.createMealType({name: "Mealtype"}).then(e => {
apiClient.createMealType({name: this.$t('Meal_Type')}).then(e => {
this.periodChangedCallback(this.current_period)
}).catch(error => {
StandardToasts.makeStandardToast(StandardToasts.FAIL_UPDATE)