From 0d2ad33d6cfd0a476529816fd707d2a97893f972 Mon Sep 17 00:00:00 2001 From: Colin Maudry Date: Mon, 13 Jul 2026 10:47:31 +0200 Subject: [PATCH] =?UTF-8?q?fix(entity=5Fgrid):=20allow=5Fduplicate=20sur?= =?UTF-8?q?=20le=20store=20columnState=20partag=C3=A9=20(collision=20achet?= =?UTF-8?q?eur/titulaire)=20(#41)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 4.8 --- src/utils/entity_grid.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/entity_grid.py b/src/utils/entity_grid.py index 9a1f897..4417fc2 100644 --- a/src/utils/entity_grid.py +++ b/src/utils/entity_grid.py @@ -170,7 +170,7 @@ def register_entity_grid_callbacks(org_type: str) -> None: # 3) Persiste columnState (largeur/ordre/tri/visibilité) dans le store global # partagé. Input MATCH (grille) → Output fixe (store). Autorisé Dash 4.4. @callback( - Output("entity-grid-columns-state", "data"), + Output("entity-grid-columns-state", "data", allow_duplicate=True), Input({"type": gtype, "entity_id": MATCH, "year": MATCH}, "columnState"), prevent_initial_call=True, )