From 7e4deccae09faa6981d362f595672e2f2915d7d5 Mon Sep 17 00:00:00 2001 From: Jonathan Perucca Date: Tue, 3 Sep 2019 00:18:42 +0200 Subject: [PATCH] renaming removed file event for consistency --- src/components/vue-dropzone.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/vue-dropzone.vue b/src/components/vue-dropzone.vue index ff90910..8704b81 100755 --- a/src/components/vue-dropzone.vue +++ b/src/components/vue-dropzone.vue @@ -133,7 +133,7 @@ export default { }); this.dropzone.on("removedfile", function(file) { - vm.$emit("vdropzone-removed-file", file); + vm.$emit("vdropzone-file-removed", file); if (file.manuallyAdded && vm.dropzone.options.maxFiles !== null) vm.dropzone.options.maxFiles++; });