mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-09 17:07:57 +08:00
feat: add json file preview and icon (#17930)
This commit is contained in:
@@ -42,7 +42,7 @@ const DocumentPreview = function ({
|
||||
<DocPreviewer className={className} url={url} />
|
||||
</section>
|
||||
)}
|
||||
{['txt'].indexOf(fileType) > -1 && (
|
||||
{['txt', 'json'].indexOf(fileType) > -1 && (
|
||||
<section>
|
||||
<TxtPreviewer className={className} url={url} />
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user