fix(entity_grid): allow_duplicate sur le store columnState partagé (collision acheteur/titulaire) (#41)
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -170,7 +170,7 @@ def register_entity_grid_callbacks(org_type: str) -> None:
|
|||||||
# 3) Persiste columnState (largeur/ordre/tri/visibilité) dans le store global
|
# 3) Persiste columnState (largeur/ordre/tri/visibilité) dans le store global
|
||||||
# partagé. Input MATCH (grille) → Output fixe (store). Autorisé Dash 4.4.
|
# partagé. Input MATCH (grille) → Output fixe (store). Autorisé Dash 4.4.
|
||||||
@callback(
|
@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"),
|
Input({"type": gtype, "entity_id": MATCH, "year": MATCH}, "columnState"),
|
||||||
prevent_initial_call=True,
|
prevent_initial_call=True,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user