Skip to content

Commit

Permalink
fix(refs T31971): remove comment that is deemed unneeded
Browse files Browse the repository at this point in the history
  • Loading branch information
spiess-demos committed Mar 29, 2023
1 parent e04fcdb commit 5c6ee11
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/components/core/DpUpload/DpUpload.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,11 +124,6 @@ export default {
'\\'
]
/*
* For reasons i could not figure out, the for loop was needed here
* to reliably access the item that is looped over. When using forEach,
* strangely it always held the value of currentFile.
*/
for (let i = 0; i < reservedCharacters.length; i++) {
if (fileName.includes(reservedCharacters[i])) {
fileName = fileName.replace(reservedCharacters[i], '_')
Expand Down

0 comments on commit 5c6ee11

Please sign in to comment.