fix: recipe rating display (#1779)

* remove rating from recipe title

* fixed rating not rendering on landscape mode
This commit is contained in:
Michael Genson 2022-10-27 13:45:52 -05:00 committed by GitHub
parent 49e24140bb
commit 1e3c0b0859
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@
<v-card v-if="!landscape" width="50%" flat class="d-flex flex-column justify-center align-center">
<v-card-text>
<v-card-title class="headline pa-0 flex-column align-center">
{{ recipe.name }} {{ recipe.rating }}
{{ recipe.name }}
<RecipeRating :key="recipe.slug" v-model="recipe.rating" :name="recipe.name" :slug="recipe.slug" />
</v-card-title>
<v-divider class="my-2"></v-divider>

View File

@ -19,7 +19,7 @@
<RecipeRating
v-if="landscape && $vuetify.breakpoint.smAndUp"
:key="recipe.slug"
:v-model="recipe.rating"
v-model="recipe.rating"
:name="recipe.name"
:slug="recipe.slug"
/>