Skip to content

Commit

Permalink
Remove data from upload plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Apr 20, 2020
1 parent 52b4574 commit 8ede86f
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/plugins/upload.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,6 @@ import { join } from 'path'
export default {
install(Vue) {
Vue.mixin({
data() {
return {
chunkedUploadFilesInProgress: []
}
},

methods: {
uploadChunkedFile(file, path, options) {
// TODO: proper handling of directory uploads which have a path prefix
Expand Down Expand Up @@ -48,7 +42,6 @@ export default {
})

upload.start()
this.chunkedUploadFilesInProgress.push({ name: file.name, percentage: 0, upload })
return upload
})
}
Expand Down

0 comments on commit 8ede86f

Please sign in to comment.