Skip to content
Snippets Groups Projects
Commit 279d4506 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

Fixed aesthetic issue on loading animation during upload

parent baf16615
No related branches found
No related tags found
No related merge requests found
...@@ -124,7 +124,7 @@ export default { ...@@ -124,7 +124,7 @@ export default {
parentPath: path, parentPath: path,
files: files files: files
} }
}); }, false);
}, },
uploadFile(url, file) { uploadFile(url, file) {
let formData = new FormData(); let formData = new FormData();
......
...@@ -183,7 +183,8 @@ export default new Vuex.Store({ ...@@ -183,7 +183,8 @@ export default new Vuex.Store({
dispatch('setPath', state.path); dispatch('setPath', state.path);
}); });
}, },
uploadFiles({ state, dispatch }, files) { uploadFiles({ state, commit, dispatch }, files) {
commit('setLoading', true);
let names = []; let names = [];
for (let file of files) { for (let file of files) {
names.push(file.name); names.push(file.name);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment