From 9c2458b3a5d9865b995395787a7bb32f1d9c7ac0 Mon Sep 17 00:00:00 2001 From: Anthony Geourjon <anthony.geourjon@tetras-libre.fr> Date: Mon, 5 Feb 2024 23:24:17 +0100 Subject: [PATCH] Remove breaking code --- src/components/AnnotationManifestsAccordion.js | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/components/AnnotationManifestsAccordion.js b/src/components/AnnotationManifestsAccordion.js index b2b534bf0..31f3eb744 100644 --- a/src/components/AnnotationManifestsAccordion.js +++ b/src/components/AnnotationManifestsAccordion.js @@ -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 }; } -- GitLab