diff --git a/src/components/editor/State.js b/src/components/editor/State.js index a443a74..9f0d31e 100644 --- a/src/components/editor/State.js +++ b/src/components/editor/State.js @@ -2987,7 +2987,7 @@ class MultiObservation extends Component { {state.observations && state.observations.map((observation, i) => { return (
- Observation #{i+1} ( this.props.onChange(`observations.[${i}]`)({val: {id: null}})}>remove) + Observation #{i+1} ( this.props.onChange('observations')(`[${i}]`)({val: {id: null}})}>remove)
) @@ -3018,7 +3018,7 @@ class DiagnosticReport extends Component { {state.observations && state.observations.map((observation, i) => { return (
- Observation #{i+1} ( this.props.onChange(`observations.[${i}]`)({val: {id: null}})}>remove) + Observation #{i+1} ( this.props.onChange('observations')(`[${i}]`)({val: {id: null}})}>remove)
)