A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/markerikson/project-minimek/commit/f6608d0fdb9420e94d1d56e535c06902a9200645 below:

Save changes to pilot entries when editing is stopped · markerikson/project-minimek@f6608d0 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+3

-1

lines changed Original file line number Diff line number Diff line change

@@ -1,5 +1,6 @@

1 1

import {

2 2

editExistingItem,

3 +

applyItemEdits,

3 4

stopEditingItem

4 5

} from "features/editing/editingActions";

5 6

@@ -42,6 +43,7 @@ export function stopEditingPilot() {

42 43

const currentPilot = selectCurrentPilot(getState());

43 44 44 45

dispatch({type : PILOT_EDIT_STOP});

46 +

dispatch(applyItemEdits("Pilot", currentPilot));

45 47

dispatch(stopEditingItem("Pilot", currentPilot));

46 48

}

47 -

}

49 +

}

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4