feat: allow previewing CSV files as plaintext (#1188)
This commit is contained in:
@@ -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) => {
|
export const isFileTypePreviewable = (fileType: string) => {
|
||||||
const isImage = fileType.startsWith('image/')
|
const isImage = fileType.startsWith('image/')
|
||||||
|
|||||||
Reference in New Issue
Block a user