Revert "temporarily disable recipe switcher"

This reverts commit d2b796ddd2.
This commit is contained in:
vabene1111
2022-01-17 17:58:09 +01:00
parent d2b796ddd2
commit d23158839b
2 changed files with 6 additions and 6 deletions

View File

@ -5,7 +5,7 @@
</template>
<div v-if="!loading">
<!-- <RecipeSwitcher :recipe="rootrecipe.id" :name="rootrecipe.name" mode="recipe" @switch="quickSwitch($event)" />-->
<RecipeSwitcher :recipe="rootrecipe.id" :name="rootrecipe.name" mode="recipe" @switch="quickSwitch($event)" />
<div class="row">
<div class="col-12" style="text-align: center">
<h3>{{ recipe.name }}</h3>
@ -173,7 +173,7 @@ import IngredientsCard from "@/components/IngredientsCard"
import StepComponent from "@/components/StepComponent"
import KeywordsComponent from "@/components/KeywordsComponent"
import NutritionComponent from "@/components/NutritionComponent"
// import RecipeSwitcher from "@/components/Buttons/RecipeSwitcher"
import RecipeSwitcher from "@/components/Buttons/RecipeSwitcher"
Vue.prototype.moment = moment
@ -194,7 +194,7 @@ export default {
KeywordsComponent,
LoadingSpinner,
AddRecipeToBook,
// RecipeSwitcher,
RecipeSwitcher,
},
computed: {
ingredient_factor: function () {