diff --git a/frontend/src/components/fileManager/FileInfoCard.tsx b/frontend/src/components/fileManager/FileInfoCard.tsx index 76a26c031..f53a2f6ee 100644 --- a/frontend/src/components/fileManager/FileInfoCard.tsx +++ b/frontend/src/components/fileManager/FileInfoCard.tsx @@ -53,55 +53,6 @@ const FileInfoCard: React.FC = ({ - {/* Standard PDF Metadata */} - {currentFile?.pdfMetadata?.title && ( - <> - - {t('fileManager.title', 'Title')} - - {currentFile.pdfMetadata.title} - - - - - )} - - {currentFile?.pdfMetadata?.author && ( - <> - - {t('fileManager.author', 'Author')} - - {currentFile.pdfMetadata.author} - - - - - )} - - {currentFile?.pdfMetadata?.subject && ( - <> - - {t('fileManager.subject', 'Subject')} - - {currentFile.pdfMetadata.subject} - - - - - )} - - {currentFile?.pdfMetadata?.creationDate && ( - <> - - {t('fileManager.created', 'Created')} - - {new Date(currentFile.pdfMetadata.creationDate).toLocaleDateString()} - - - - - )} - {t('fileManager.lastModified', 'Last Modified')} diff --git a/frontend/src/types/file.ts b/frontend/src/types/file.ts index c5766bbe3..289292433 100644 --- a/frontend/src/types/file.ts +++ b/frontend/src/types/file.ts @@ -37,14 +37,4 @@ export interface BaseFileMetadata { timestamp: number; }>; // Tool chain for history tracking - // Standard PDF document metadata - pdfMetadata?: { - title?: string; - author?: string; - subject?: string; - creator?: string; - producer?: string; - creationDate?: Date; - modificationDate?: Date; - }; }