feat: document support rename in in dataset (#4732)

This commit is contained in:
Joel 2024-06-04 15:10:34 +08:00 • committed by GitHub
commit 96460d5ea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 195 additions and 17 deletions

View file

@ -150,6 +150,7 @@ const DocumentDetail: FC<Props> = ({ datasetId, documentId }) => {
scene='detail'
embeddingAvailable={embeddingAvailable}
detail={{
name: documentDetail?.name || '',
enabled: documentDetail?.enabled || false,
archived: documentDetail?.archived || false,
id: documentId,