| changeset 124 | c77570164050 |
| parent 77 | cd27d9fc1c73 |
| child 125 | c653f49fabfb |
--- a/client/src/components/SessionSummary.js Wed Jul 19 17:03:40 2017 +0200 +++ b/client/src/components/SessionSummary.js Thu Jul 20 11:23:08 2017 +0200 @@ -23,7 +23,10 @@ } function mapStateToProps(state, props) { - return props; + return { + ...props, + notes : props.notes.filter(note => !note.deleted) + }; } export default connect(mapStateToProps)(SessionSummary);