There was an error while loading. Please reload this page.
1 parent 4851049 commit f6608d0Copy full SHA for f6608d0
src/features/pilots/pilotsActions.js
@@ -1,5 +1,6 @@
1
import {
2
editExistingItem,
3
+ applyItemEdits,
4
stopEditingItem
5
} from "features/editing/editingActions";
6
@@ -42,6 +43,7 @@ export function stopEditingPilot() {
42
43
const currentPilot = selectCurrentPilot(getState());
44
45
dispatch({type : PILOT_EDIT_STOP});
46
+ dispatch(applyItemEdits("Pilot", currentPilot));
47
dispatch(stopEditingItem("Pilot", currentPilot));
48
}
-}
49
+}
0 commit comments