mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
increase folder item count after drag in file
This commit is contained in:
+1
-1
@@ -169,7 +169,7 @@ const FunctionHelpers = {
|
|||||||
})
|
})
|
||||||
|
|
||||||
// Start uploading if uploading process isn't running
|
// Start uploading if uploading process isn't running
|
||||||
if (store.getters.filesInQueueTotal == 0) this.$handleUploading(store.getters.fileQueue[0])
|
if (store.getters.filesInQueueTotal === 0) this.$handleUploading(store.getters.fileQueue[0])
|
||||||
|
|
||||||
// Increase total files in upload bar
|
// Increase total files in upload bar
|
||||||
store.commit('INCREASE_FILES_IN_QUEUES_TOTAL', files.length)
|
store.commit('INCREASE_FILES_IN_QUEUES_TOTAL', files.length)
|
||||||
|
|||||||
+2
@@ -179,6 +179,8 @@ const actions = {
|
|||||||
if (response.data.data.id) {
|
if (response.data.data.id) {
|
||||||
commit('PROCESSING_FILE', false)
|
commit('PROCESSING_FILE', false)
|
||||||
|
|
||||||
|
commit('INCREASE_FOLDER_ITEM', response.data.data.attributes.parent_id)
|
||||||
|
|
||||||
// Remove first file from file queue
|
// Remove first file from file queue
|
||||||
commit('SHIFT_FROM_FILE_QUEUE')
|
commit('SHIFT_FROM_FILE_QUEUE')
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user