move api call, remove delete requested wine button, rename emit
This commit is contained in:
@@ -38,7 +38,7 @@ export default {
|
||||
},
|
||||
methods:{
|
||||
modalButtonClicked(action){
|
||||
this.$emit('modalBtnClicked', action)
|
||||
this.$emit('click', action)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
class="wine-link"
|
||||
>Les mer på polet</a>
|
||||
</section>
|
||||
<button @click="deleteWine(wine)">
|
||||
<!-- <button @click="deleteWine(wine)">
|
||||
Slett vinen
|
||||
</button>
|
||||
</button> -->
|
||||
</section>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
Reference in New Issue
Block a user