file browser refactoring

This commit is contained in:
Čarodej
2021-10-28 09:18:55 +02:00
parent 3dfee77042
commit 240880e2ad
5 changed files with 73 additions and 196 deletions

View File

@@ -103,7 +103,7 @@ const FunctionHelpers = {
this.$store.commit('INCREASE_FILES_IN_QUEUES_TOTAL', files.length)
}
Vue.prototype.$uploadExternalFiles = async function (event, parent_id) {
Vue.prototype.$uploadDraggedFiles = async function (event, parent_id) {
// Prevent submit empty files
if (event.dataTransfer.items.length === 0) return