diff --git a/src/components/AnnotationManifestsAccordion.js b/src/components/AnnotationManifestsAccordion.js index dd4e2a86ef51697b4b6e4933b17549f3e26b78d4..fb173f5f4adb1c265ad00f515566786e8840836b 100644 --- a/src/components/AnnotationManifestsAccordion.js +++ b/src/components/AnnotationManifestsAccordion.js @@ -37,6 +37,12 @@ export class AnnotationManifestsAccordion extends Component { // eslint-disable-next-line react/prop-types annotation.manifests = annotation.manifests?.map(id => ({ id })) ?? []; + if(annotation.manifests.length = 0) { + if(annotation.manifestNetwork) { + annotation.manifests = annotation.manifestNetwork; + } + } + this.state = { annotation }; }