Showing 45 of 45 total issues
Avoid too many return
statements within this function. Open
Open
return null
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: setMemberLoading({idAttribute, id, cId, state}) }
}
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: destroyTempMemeber({cId, state}) }
}
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{
loading: true,
loadingError: undefined
Avoid too many return
statements within this function. Open
Open
return {
...state,
...createNewCollection({
models: setMemberAttributes({id, data, state,
metaData: { loading: false, ...metaData }
Avoid too many return
statements within this function. Open
Open
return createNewModel({
metaData: { loading: true, queryParams },
attributes: state.attributes
})
Avoid too many return
statements within this function. Open
Open
return true
Avoid too many return
statements within this function. Open
Open
return createNewModel({id, metaData,
attributes: { ...state.attributes, ...data }
})
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: setMemberLoadingError({state, id, error}) }
}
Avoid too many return
statements within this function. Open
Open
return createNewCollection({
models: setMemberAttributes({cId, state})
})
Avoid too many return
statements within this function. Open
Open
return createNewModel({id,
metaData: { loading: true, __prevData},
attributes: state.attributes
})
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: setMemberLoading({id, state}) }
}
Avoid too many return
statements within this function. Open
Open
return createNewModel({id,
attributes: { ...state.attributes, ...data },
metaData
})
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: setMemberLoadingError({state, id, error}) }
}
Avoid too many return
statements within this function. Open
Open
if (destroy && isSingleModel) { return null }
Avoid too many return
statements within this function. Open
Open
return createNewModel({cId})
Avoid too many return
statements within this function. Open
Open
return createNewModel({id, cId,
attributes: { ...state.attributes, ...data },
metaData
})
Avoid too many return
statements within this function. Open
Open
return {
...state,
...{ models: setMemberAttributes({id, data, metaData, state, replaceAttributes: false}) }
}
Avoid too many return
statements within this function. Open
Open
return createNewModel({id,
attributes: state.attributes,
metaData: { loadingError: error }
})
Avoid too many return
statements within this function. Open
Open
return createNewModel({id, cId,
attributes: { ...currentModel.attributes, ...data },
metaData: newMeta
})