Displaying calories in recipe table

This commit is contained in:
Artur Nowakowski 2020-01-19 18:14:45 +01:00
parent 092824bb7b
commit 75b57870de

View File

@ -35,6 +35,15 @@
title: 'Opis',
key: 'description'
},
{
title: 'Kalorie',
key: 'kcal',
render: (h, params) => {
return h('div', [
h('span', params.row.nutrition.kcal)
]);
},
},
{
title: 'Akcje',
key: 'action',