implement item deletion in cards

This commit is contained in:
busti 2019-12-23 21:54:23 +01:00
parent ae3812434d
commit cba05f545f

View file

@ -46,9 +46,14 @@
<h6 class="card-title">{{ item.description }}</h6>
<h6 class="card-subtitle text-secondary">uid: {{ item.uid }} box: {{ item.box }}</h6>
<div class="row mx-auto mt-2">
<button class="btn btn-outline-secondary" @click.stop="openEditingModalWith(item)">
Edit
</button>
<div class="btn-group">
<button class="btn btn-outline-secondary" @click.stop="openEditingModalWith(item)">
Edit
</button>
<button class="btn btn-outline-secondary" @click.stop="deleteItem(item)">
Delete
</button>
</div>
</div>
</div>
</Cards>