mirror of
https://github.com/mealie-recipes/mealie.git
synced 2025-08-03 04:25:24 +02:00
Bug Fixes (#467)
* fixes #463 * fixes #465 * fixes #461 * fixes #458 key error * Fixes #459 * Fixes comments shown when printing * fix meal-image not return on API call * return better status * reorganize docs Co-authored-by: hay-kot <hay-kot@pm.me>
This commit is contained in:
parent
d126f74d35
commit
59f8b74460
21 changed files with 72 additions and 46 deletions
|
@ -27,7 +27,7 @@
|
|||
<div>
|
||||
<v-text-field :label="$t('general.url')" class="pt-5" clearable v-model="url">
|
||||
<template v-slot:append-outer>
|
||||
<v-btn class="ml-2" color="primary" @click="getImageFromURL" :loading="loading">
|
||||
<v-btn class="ml-2" color="primary" @click="getImageFromURL" :loading="loading" :disabled="slug">
|
||||
{{ $t("general.get") }}
|
||||
</v-btn>
|
||||
</template>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
{{ recipe.recipeYield }}
|
||||
</v-btn>
|
||||
</v-col>
|
||||
<Rating :value="recipe.rating" :name="recipe.name" :slug="recipe.slug" />
|
||||
<Rating :value="recipe.rating" :name="recipe.name" :slug="recipe.slug" :key="recipe.slug" />
|
||||
</v-row>
|
||||
<v-row>
|
||||
<v-col cols="12" sm="12" md="4" lg="4">
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
<v-icon>mdi-account-plus-outline</v-icon>
|
||||
</v-tab>
|
||||
|
||||
<v-tab href="#groups">
|
||||
<v-tab href="#groups" @click="reqGroups">
|
||||
{{ $t("group.groups") }}
|
||||
<v-icon>{{ $globals.icons.group }}</v-icon>
|
||||
</v-tab>
|
||||
|
@ -55,7 +55,12 @@ export default {
|
|||
},
|
||||
},
|
||||
mounted() {
|
||||
this.$store.dispatch("requestAllGroups");
|
||||
this.reqGroups();
|
||||
},
|
||||
methods: {
|
||||
reqGroups() {
|
||||
this.$store.dispatch("requestAllGroups");
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
<RecipeEditor v-else v-model="recipeDetails" ref="recipeEditor" @upload="getImageFile" />
|
||||
</v-card>
|
||||
<CommentsSection
|
||||
class="mt-2"
|
||||
class="mt-2 d-print-none"
|
||||
:slug="recipeDetails.slug"
|
||||
:comments="recipeDetails.comments"
|
||||
@new-comment="getRecipeDetails"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue