MediaPfad extern, Upload Manager Bug Fixes #23
|
|
@ -13,8 +13,8 @@ import {
|
|||
CircleDot,
|
||||
FilePenLine,
|
||||
Copyright,
|
||||
Image,
|
||||
Video,
|
||||
Image as LucideImage,
|
||||
Video as LucideVideo,
|
||||
FileText,
|
||||
File,
|
||||
Upload,
|
||||
|
|
@ -219,8 +219,8 @@ function MediaTypeGlyph({ mimeType, compact }) {
|
|||
const kind = previewDisplayKind(mimeType)
|
||||
const label = MEDIA_KIND_LABELS[kind] || 'Medium'
|
||||
let Icon = File
|
||||
if (kind === 'image') Icon = Image
|
||||
else if (kind === 'video') Icon = Video
|
||||
if (kind === 'image') Icon = LucideImage
|
||||
else if (kind === 'video') Icon = LucideVideo
|
||||
else if (kind === 'pdf') Icon = FileText
|
||||
const sz = compact ? 12 : 14
|
||||
return (
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user