Display buttons as list

This commit is contained in:
Daniel O'Connor 2025-01-27 05:26:21 +00:00
commit 1d049cdafc

View file

@ -72,22 +72,26 @@
{{ ing.input }} {{ ing.input }}
<v-card-actions> <v-card-actions>
<v-spacer /> <v-spacer />
<ul style="list-style-type: none;">
<li v-if="errors[index].unitError && errors[index].unitErrorMessage !== ''">
<BaseButton <BaseButton
v-if="errors[index].unitError && errors[index].unitErrorMessage !== ''"
color="warning" color="warning"
small small
@click="createUnit(ing.ingredient.unit, index)" @click="createUnit(ing.ingredient.unit, index)"
> >
{{ errors[index].unitErrorMessage }} {{ errors[index].unitErrorMessage }}
</BaseButton> </BaseButton>
</li>
<li v-if="errors[index].foodError && errors[index].foodErrorMessage !== ''">
<BaseButton <BaseButton
v-if="errors[index].foodError && errors[index].foodErrorMessage !== ''"
color="warning" color="warning"
small small
@click="createFood(ing.ingredient.food, index)" @click="createFood(ing.ingredient.food, index)"
> >
{{ errors[index].foodErrorMessage }} {{ errors[index].foodErrorMessage }}
</BaseButton> </BaseButton>
</li>
</ul>
</v-card-actions> </v-card-actions>
</v-expansion-panel-content> </v-expansion-panel-content>
</v-expansion-panel> </v-expansion-panel>