mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-23 23:05:21 -07:00
Display buttons as list
This commit is contained in:
parent
93c2df41c3
commit
1d049cdafc
1 changed files with 20 additions and 16 deletions
|
@ -72,22 +72,26 @@
|
|||
{{ ing.input }}
|
||||
<v-card-actions>
|
||||
<v-spacer />
|
||||
<BaseButton
|
||||
v-if="errors[index].unitError && errors[index].unitErrorMessage !== ''"
|
||||
color="warning"
|
||||
small
|
||||
@click="createUnit(ing.ingredient.unit, index)"
|
||||
>
|
||||
{{ errors[index].unitErrorMessage }}
|
||||
</BaseButton>
|
||||
<BaseButton
|
||||
v-if="errors[index].foodError && errors[index].foodErrorMessage !== ''"
|
||||
color="warning"
|
||||
small
|
||||
@click="createFood(ing.ingredient.food, index)"
|
||||
>
|
||||
{{ errors[index].foodErrorMessage }}
|
||||
</BaseButton>
|
||||
<ul style="list-style-type: none;">
|
||||
<li v-if="errors[index].unitError && errors[index].unitErrorMessage !== ''">
|
||||
<BaseButton
|
||||
color="warning"
|
||||
small
|
||||
@click="createUnit(ing.ingredient.unit, index)"
|
||||
>
|
||||
{{ errors[index].unitErrorMessage }}
|
||||
</BaseButton>
|
||||
</li>
|
||||
<li v-if="errors[index].foodError && errors[index].foodErrorMessage !== ''">
|
||||
<BaseButton
|
||||
color="warning"
|
||||
small
|
||||
@click="createFood(ing.ingredient.food, index)"
|
||||
>
|
||||
{{ errors[index].foodErrorMessage }}
|
||||
</BaseButton>
|
||||
</li>
|
||||
</ul>
|
||||
</v-card-actions>
|
||||
</v-expansion-panel-content>
|
||||
</v-expansion-panel>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue