show where properties are missing
This commit is contained in:
parent
9e63c5321e
commit
55b8b78a16
@ -62,7 +62,14 @@
|
||||
<tr v-for="f in selected_property.food_values"
|
||||
v-bind:key="`id_${selected_property.id}_food_${f.id}`">
|
||||
<td><a href="#" @click="openFoodEditModal(f)">{{ f.food }}</a></td>
|
||||
<td>{{ f.value }} {{ selected_property.unit }}</td>
|
||||
<td>
|
||||
<template v-if="f.value == null">
|
||||
<i class="text-warning fas fa-exclamation-triangle"></i>
|
||||
</template>
|
||||
<template v-else>
|
||||
{{ f.value }} {{ selected_property.unit }}
|
||||
</template>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</template>
|
||||
|
Loading…
Reference in New Issue
Block a user