Skip to content

Commit

Permalink
fix: file upload missing path slash
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiresviana committed Oct 19, 2020
1 parent 5aaeb3b commit 5e27ba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/files/Listing.vue
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ export default {
}
let files = await upload.scanFiles(dt)
let path = this.$route.path + base
let path = this.$route.path.endsWith('/') ? this.$route.path + base : this.$route.path + '/' + base
let items = this.req.items
if (base !== '') {
Expand Down Expand Up @@ -409,7 +409,7 @@ export default {
}
}
let path = this.$route.path
let path = this.$route.path.endsWith('/') ? this.$route.path : this.$route.path + '/'
let conflict = upload.checkConflict(files, this.req.items)
if (conflict) {
Expand Down

0 comments on commit 5e27ba5

Please sign in to comment.