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