MediaPfad extern, Upload Manager Bug Fixes #23

Merged
Lars merged 21 commits from develop into main 2026-05-08 11:17:12 +02:00
Showing only changes of commit bebcf5af73 - Show all commits

View File

@ -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 (