Render JSON files as text files
This commit is contained in:
1 parent
008ffbc4f7
commit
f46c4e703d
2 files changed
+2
No files matched your search
@@ -47,6 +47,7 @@ export const fs_node_type = node => {
|
||||
) {
|
||||
return "pdf"
|
||||
} else if (
|
||||
node.file_type === "application/json" ||
|
||||
node.file_type.startsWith("text")
|
||||
) {
|
||||
return "text"
|
||||
|
||||
Reference in new issue
Block a user