| changeset 132 | 906a6c7c7943 |
| parent 129 | d48946d164c6 |
| child 168 | ea92f4fe783d |
| 131:adad5563603c | 132:906a6c7c7943 |
|---|---|
79 return state.set(index, noteRec); |
79 return state.set(index, noteRec); |
80 } else { |
80 } else { |
81 return state.push(noteRec); |
81 return state.push(noteRec); |
82 } |
82 } |
83 } |
83 } |
84 case types.AUTH_LOGOUT: { |
|
85 return Immutable.List(); // empty note list on logout |
|
86 } |
|
84 default: |
87 default: |
85 return state; |
88 return state; |
86 } |
89 } |
87 }; |
90 }; |