mirror of
https://github.com/TandoorRecipes/recipes.git
synced 2026-01-01 04:10:06 -05:00
fixed click on ingredient table rows checking row
This commit is contained in:
@@ -27,8 +27,8 @@
|
|||||||
|
|
||||||
<v-table density="compact">
|
<v-table density="compact">
|
||||||
<tbody>
|
<tbody>
|
||||||
<template v-for="i in ingredients" :key="i.id" @click="i.checked = !i.checked">
|
<template v-for="i in ingredients" :key="i.id" >
|
||||||
<tr>
|
<tr @click="i.checked = !i.checked">
|
||||||
<template v-if="i.isHeader">
|
<template v-if="i.isHeader">
|
||||||
<td colspan="5" class="font-weight-bold">{{ i.note }}</td>
|
<td colspan="5" class="font-weight-bold">{{ i.note }}</td>
|
||||||
</template>
|
</template>
|
||||||
@@ -50,7 +50,7 @@
|
|||||||
<a v-else-if="i.food.url" :href="i.food.url" target="_blank">{{ ingredientToFoodString(i, ingredientFactor) }}</a>
|
<a v-else-if="i.food.url" :href="i.food.url" target="_blank">{{ ingredientToFoodString(i, ingredientFactor) }}</a>
|
||||||
<span v-else>{{ ingredientToFoodString(i, ingredientFactor) }}</span>
|
<span v-else>{{ ingredientToFoodString(i, ingredientFactor) }}</span>
|
||||||
<template v-if="i.note != '' && i.note != undefined">
|
<template v-if="i.note != '' && i.note != undefined">
|
||||||
<span class="text-disabled font-italic"> {{ i.note }}</span>
|
<span class="d-none d-print-block text-disabled font-italic"> {{ i.note }}</span>
|
||||||
</template>
|
</template>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user