Skip to content
Snippets Groups Projects
Commit 9c2458b3 authored by Anthony's avatar Anthony
Browse files

Remove breaking code

parent 7451dfb7
No related branches found
No related tags found
No related merge requests found
Pipeline #1922 failed
......@@ -37,12 +37,6 @@ 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 };
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment