From bedab07dacc48883d6c141cac7a917aceebab518 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9s=20Gonz=C3=A1lez=20Mu=C3=B1oz?= Date: Tue, 10 Sep 2024 17:02:43 +0200 Subject: [PATCH] fixes checkbox after submitting changes --- .../grid-setup/features/target-spf/targets-spf-table/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/layout/project/sidebar/scenario/grid-setup/features/target-spf/targets-spf-table/index.tsx b/app/layout/project/sidebar/scenario/grid-setup/features/target-spf/targets-spf-table/index.tsx index c4bdd0a11d..852c8396c1 100644 --- a/app/layout/project/sidebar/scenario/grid-setup/features/target-spf/targets-spf-table/index.tsx +++ b/app/layout/project/sidebar/scenario/grid-setup/features/target-spf/targets-spf-table/index.tsx @@ -57,6 +57,7 @@ const TargetsSPFTable = ({ theme="light" className="block h-4 w-4 checked:bg-blue-500" onChange={onSelectAll} + checked={selectedIds.length === data.length} disabled={noDataCustom} />