Skip to content

Commit

Permalink
[5.x] Fix assets not being uploadable when not using dynamic folders (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonvarga authored Sep 30, 2024
1 parent 4731d57 commit e2e7b25
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,9 @@ export default {
folder = folder + '/' + (this.lockedDynamicFolder || this.dynamicFolder);
}
return folder.replace(/^\/+/, '');
folder = folder.replace(/^\/+/, '');
return folder === '' ? '/' : folder;
},
configuredFolder() {
Expand Down

0 comments on commit e2e7b25

Please sign in to comment.