Skip to content

Commit

Permalink
Apply proper file type icons also for uppercase file extensions
Browse files Browse the repository at this point in the history
  • Loading branch information
DeepDiver1975 committed Jun 24, 2020
1 parent 7944f70 commit 4df83e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/files/src/mixins.js
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ export default {
if (file.type === 'folder') {
return 'folder'
}
const icon = fileTypeIconMappings[file.extension]
const icon = fileTypeIconMappings[file.extension.toLowerCase()]
if (icon) return `${icon}`
}
return 'x-office-document'
Expand Down

0 comments on commit 4df83e6

Please sign in to comment.