Showing 3 of 5 total issues
Function exports
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
module.exports = (req, res) => {
// check if it is a fhir ressource
if (!checkResourceType(req.params.type)) {
return res.status(404).send(createError(
Function render
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
const value = {
resourceType: this.props.resourceType,
};
Function render
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
render() {
return (
<div>
<div style={{ marginBottom: 10 }}>
<Button onClick={this._openAddResourceModal.bind(this, this.props.match.params.resourceType)} bsStyle="primary">