feat(webui): collection edition on card in browse collections

This commit is contained in:
Gauthier Roebroeck 2020-06-28 17:14:29 +08:00
parent 68fe4fd23d
commit e45389d77b

View file

@ -28,6 +28,7 @@
<item-browser
:items="collections"
:selectable="false"
:edit-function="editSingleCollection"
/>
</v-container>
@ -193,6 +194,9 @@ export default Vue.extend({
return undefined
}
},
editSingleCollection (collection: CollectionDto) {
this.$store.dispatch('dialogEditCollection', collection)
},
},
})
</script>