fix icon for DirectoryEntrys without mime type
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
export function getFileIcon(mimeType: string | null) {
|
||||
if (mimeType == null) {
|
||||
return 'lucide:folder';
|
||||
return 'lucide:file';
|
||||
}
|
||||
|
||||
if (mimeType.startsWith('image/')) {
|
||||
|
||||
Reference in New Issue
Block a user