We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdea1b5 commit e94af4cCopy full SHA for e94af4c
1 file changed
frontend/src/components/app/views/DocumentsView.tsx
@@ -65,7 +65,7 @@ function statusLabel(status?: string | null): string {
65
function docToAttachedFile(doc: UserDocument): AttachedFile {
66
const ext = (doc.name || "").split(".").pop()?.toLowerCase() ?? ""
67
const isTextViewable = [
68
- "txt", "md", "tex", "csv", "tsv", "rtf", "pdf",
+ "txt", "md", "tex", "csv", "tsv", "rtf",
69
...(SUPPORTED_EXTENSIONS.code as readonly string[]),
70
].includes(ext)
71
0 commit comments