mirror of
https://github.com/hay-kot/mealie.git
synced 2025-08-22 06:23:34 -07:00
fix hide/show when no tags/categories
This commit is contained in:
parent
eb74386f49
commit
d1b237f5c1
1 changed files with 3 additions and 2 deletions
|
@ -33,7 +33,8 @@
|
||||||
<v-col cols="12" sm="12" md="4" lg="4">
|
<v-col cols="12" sm="12" md="4" lg="4">
|
||||||
<Ingredients :value="ingredients" :edit="false" />
|
<Ingredients :value="ingredients" :edit="false" />
|
||||||
<div v-if="medium">
|
<div v-if="medium">
|
||||||
<v-card class="mt-2">
|
<v-card class="mt-2" v-if="categories.length > 0"
|
||||||
|
>>
|
||||||
<v-card-title class="py-2">
|
<v-card-title class="py-2">
|
||||||
{{ $t("recipe.categories") }}
|
{{ $t("recipe.categories") }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
@ -42,7 +43,7 @@
|
||||||
<RecipeChips :items="categories" />
|
<RecipeChips :items="categories" />
|
||||||
</v-card-text>
|
</v-card-text>
|
||||||
</v-card>
|
</v-card>
|
||||||
<v-card class="mt-2">
|
<v-card class="mt-2" v-if="tags.length > 0">
|
||||||
<v-card-title class="py-2">
|
<v-card-title class="py-2">
|
||||||
{{ $t("recipe.tags") }}
|
{{ $t("recipe.tags") }}
|
||||||
</v-card-title>
|
</v-card-title>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue