Merge branch 'phatt' into development
This commit is contained in:
commit
978de491df
1 changed files with 1 additions and 1 deletions
|
|
@ -67,7 +67,7 @@ export const useFileInfoStore = defineStore('info', () => {
|
||||||
|
|
||||||
const extension = mime.getExtension(mimeType)
|
const extension = mime.getExtension(mimeType)
|
||||||
|
|
||||||
if (extension) return '.' + extension
|
if (extension) return extension
|
||||||
if (fileName && fileName.includes('.')) {
|
if (fileName && fileName.includes('.')) {
|
||||||
return fileName.substring(fileName.lastIndexOf('.'))
|
return fileName.substring(fileName.lastIndexOf('.'))
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue