adds Template custom object, starts SlotSelect component

This commit is contained in:
2019-02-12 21:48:09 +01:00
parent e2e0cc587e
commit 7121137145
4 changed files with 98 additions and 43 deletions

View File

@@ -8,12 +8,7 @@
</span>
</a>
<br class="is-hidden-mobile"/>
<a @click="$emit('add', item.id)"
class="has-text-success">
<span class="icon is-large">
<i class="mdi mdi-36px mdi-table-plus"></i>
</span>
</a>
<SlotSelect />
</div>
<div class="column">
<h4 class="title">{{ item.title }}</h4>
@@ -35,9 +30,14 @@
<script>
import _, {categories} from './RecipeList.vue'
import SlotSelect from './planner/SlotSelect.vue'
export default {
name: 'RecipeDetails',
components: {
SlotSelect,
},
props: {
item: {
type: Object,