From ff4585ba78ffaa639514e5cc092e2a84a6a0903a Mon Sep 17 00:00:00 2001 From: Maciej Ziarkowski Date: Thu, 18 Mar 2021 21:19:38 +0000 Subject: [PATCH] Autosave changes to dynamics toggle --- app/src/frontend/building/data-containers/dynamics/dynamics.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/frontend/building/data-containers/dynamics/dynamics.tsx b/app/src/frontend/building/data-containers/dynamics/dynamics.tsx index c5444dd8..a91f6f71 100644 --- a/app/src/frontend/building/data-containers/dynamics/dynamics.tsx +++ b/app/src/frontend/building/data-containers/dynamics/dynamics.tsx @@ -72,7 +72,7 @@ const DynamicsView: React.FunctionComponent = (props) => { disallowFalse={(building.demolished_buildings?.length ?? 0) > 0} disallowNull={(building.demolished_buildings?.length ?? 0) > 0} - onChange={props.onChange} + onChange={props.onSaveChange} mode={props.mode} copy={props.copy} />