You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -60,6 +64,7 @@ class MLegInfoComponent extends React.Component {
60
64
this.setState({
61
65
missionLeg: missionLeg
62
66
});
67
+
this.modifyEditedMissionsArr();
63
68
}
64
69
65
70
onPayloadChange(e){
@@ -68,23 +73,9 @@ class MLegInfoComponent extends React.Component {
68
73
this.setState({
69
74
missionLeg: missionLeg
70
75
});
76
+
this.modifyEditedMissionsArr();
71
77
}
72
78
73
-
// saveChanges() {
74
-
// // creating a copy of the state.missionLeg and then assigning it to props.missionLeg to prevent further direct modification to props.missionLeg which would have pointed to state.missionLeg due to assign.
0 commit comments