From 441c3f956119004957290aca41077fe275546758 Mon Sep 17 00:00:00 2001 From: alexandre Date: Sun, 23 Jul 2023 18:41:23 +0200 Subject: [PATCH] fix select all --- src/pages/logos/LogoAnnotation.jsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pages/logos/LogoAnnotation.jsx b/src/pages/logos/LogoAnnotation.jsx index 795f6286e..f7e120c46 100644 --- a/src/pages/logos/LogoAnnotation.jsx +++ b/src/pages/logos/LogoAnnotation.jsx @@ -207,7 +207,8 @@ export default function LogoAnnotation() { ...prevState, logos: prevState.logos.map((logo, index) => { if (logo.annotation_value === null) { - logo.selected = true; + logo.selected = + logo.annotation_type === null && logo.annotation_value === null; } return logo; }),