mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 00:05:54 +08:00
fix: metadata not saved (#1429)
This commit is contained in:
parent
2b366bb321
commit
518083dfe0
@ -175,7 +175,7 @@ const DocumentDetail: FC<Props> = ({ datasetId, documentId }) => {
|
|||||||
</div>
|
</div>
|
||||||
}
|
}
|
||||||
{showMetadata && <Metadata
|
{showMetadata && <Metadata
|
||||||
docDetail={{ ...documentDetail, ...documentMetadata, doc_type: documentDetail?.doc_type === 'others' ? '' : documentDetail?.doc_type } as any}
|
docDetail={{ ...documentDetail, ...documentMetadata, doc_type: documentMetadata?.doc_type === 'others' ? '' : documentMetadata?.doc_type } as any}
|
||||||
loading={isMetadataLoading}
|
loading={isMetadataLoading}
|
||||||
onUpdate={metadataMutate}
|
onUpdate={metadataMutate}
|
||||||
/>}
|
/>}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user