Implements move, copy and delete item, and delete section functionality

This commit is contained in:
Alicia Sykes
2021-10-25 19:11:13 +01:00
parent f398a374e7
commit 31e172befb
10 changed files with 75 additions and 15 deletions

View File

@@ -37,7 +37,7 @@
<MoveIcon />
<span>{{ $t('menu.move-item') }}</span>
</li>
<li v-if="isEditMode">
<li v-if="isEditMode" @click="openDeleteItem()">
<BinIcon />
<span>{{ $t('menu.remove-item') }}</span>
</li>
@@ -92,6 +92,9 @@ export default {
openMoveMenu() {
this.$emit('openMoveItemMenu');
},
openDeleteItem() {
this.$emit('openDeleteItem');
},
},
};
</script>