Skip to content

Commit

Permalink
Fix file upload in root folder
Browse files Browse the repository at this point in the history
  • Loading branch information
G4brym committed Dec 15, 2023
1 parent dace502 commit 6bdd53b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dashboard/src/components/storage/DragAndDrop.vue
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export default {
}
}
if (!targetFolder.endsWith('/')) {
if (targetFolder !== '' && !targetFolder.endsWith('/')) {
targetFolder = targetFolder + '/'
}
Expand Down

0 comments on commit 6bdd53b

Please sign in to comment.