add parameter to filter session and note by updated date. Add pagination on sessions and notes. add read only endpoint at root level to list notes
import * as types from '../constants/actionTypes';
export const autoSubmit = (state = false, action) => {
switch (action.type) {
case types.USER_TOGGLE_AUTO_SUBMIT:
return action.value;
default:
return state;
}
}
export const outbox = (state = [], action) => {
switch (action.type) {
case types.OFFLINE_PURGE_OUTBOX:
// FIXME Does not work
// Need to find a way to purge outbox
// @see https://github.com/jevakallio/redux-offline/issues/68
return state;
default:
return state;
}
}