1
0
mirror of https://github.com/TandoorRecipes/recipes.git synced 2026-01-11 09:07:12 -05:00

improved property functions

This commit is contained in:
vabene1111
2023-06-12 17:20:00 +02:00
parent 2dc038edc7
commit 6bb04dc56d
3 changed files with 6 additions and 5 deletions

View File

@@ -293,6 +293,7 @@ export default {
if (this.item1.id !== undefined) {
pf = apiClient.retrieveFood(this.item1.id).then((r) => {
this.food = r.data
this.food.properties_food_unit = {name: 'g'}
}).catch(err => {
StandardToasts.makeStandardToast(this, StandardToasts.FAIL_FETCH, err)
})