Displaying calories in recipe table
This commit is contained in:
parent
092824bb7b
commit
75b57870de
@ -35,6 +35,15 @@
|
|||||||
title: 'Opis',
|
title: 'Opis',
|
||||||
key: 'description'
|
key: 'description'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: 'Kalorie',
|
||||||
|
key: 'kcal',
|
||||||
|
render: (h, params) => {
|
||||||
|
return h('div', [
|
||||||
|
h('span', params.row.nutrition.kcal)
|
||||||
|
]);
|
||||||
|
},
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: 'Akcje',
|
title: 'Akcje',
|
||||||
key: 'action',
|
key: 'action',
|
||||||
|
Loading…
Reference in New Issue
Block a user