Skip to content

Commit

Permalink
show where properties are missing
Browse files Browse the repository at this point in the history
  • Loading branch information
vabene1111 committed Feb 18, 2024
1 parent 9e63c53 commit 55b8b78
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion vue/src/components/PropertyViewComponent.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 55b8b78

Please sign in to comment.