mirror of
https://github.com/standardnotes/web.git
synced 2024-10-27 16:31:40 +03:00
feat: allow previewing CSV files as plaintext (#1188)
This commit is contained in:
parent
53ff07244a
commit
87213e9f5d
@ -1,4 +1,4 @@
|
||||
export const PreviewableTextFileTypes = ['text/plain', 'application/json']
|
||||
export const PreviewableTextFileTypes = ['text/plain', 'text/csv', 'application/json']
|
||||
|
||||
export const isFileTypePreviewable = (fileType: string) => {
|
||||
const isImage = fileType.startsWith('image/')
|
||||
|
Loading…
Reference in New Issue
Block a user