Bläddra i källkod

fix: metadata not saved (#1429)

tags/0.3.29
crazywoola 2 år sedan
förälder
incheckning
518083dfe0
Inget konto är kopplat till bidragsgivarens mejladress
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. 1
    1
      web/app/components/datasets/documents/detail/index.tsx

+ 1
- 1
web/app/components/datasets/documents/detail/index.tsx Visa fil

@@ -175,7 +175,7 @@ const DocumentDetail: FC<Props> = ({ datasetId, documentId }) => {
</div>
}
{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}
onUpdate={metadataMutate}
/>}

Laddar…
Avbryt
Spara