makes slot selection work

This commit is contained in:
2019-02-13 14:22:49 +01:00
parent 7121137145
commit c522c23dfe
3 changed files with 51 additions and 23 deletions

View File

@@ -8,7 +8,7 @@
</span>
</a>
<br class="is-hidden-mobile"/>
<SlotSelect />
<SlotSelect v-on:add="addToPlanning" />
</div>
<div class="column">
<h4 class="title">{{ item.title }}</h4>
@@ -51,6 +51,11 @@ export default {
return {
categories: categories,
}
},
methods: {
addToPlanning: function(slotKey) {
this.$emit('add', slotKey, this.item.id);
}
}
}
</script>