This commit is contained in:
vabene1111
2021-01-13 15:21:51 +01:00
parent bf9b8a0230
commit 95aff5c998
15 changed files with 203 additions and 121 deletions

View File

@@ -1,5 +1,6 @@
<template>
<div id="app" v-if="!loading">
<div class="row">
<div class="col-12" style="text-align: center">
<h3>{{ recipe.name }}</h3>
@@ -179,6 +180,9 @@ export default {
this.loadRecipe(this.recipe_id)
},
methods: {
openCookLogModal: function () {
this.$bvModal.show('id_modal_cook_log')
},
loadRecipe: function (recipe_id) {
apiLoadRecipe(recipe_id).then(recipe => {
this.recipe = recipe