janstuemmel/campfhir-server

View on GitHub
campfhir/app/components/resources.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function render has 34 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  render() {

    const value = {
      resourceType: this.props.resourceType,
    };
Severity: Minor
Found in campfhir/app/components/resources.js - About 1 hr to fix

    Function render has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

      render() {
        return (
          <div>
            <div style={{ marginBottom: 10 }}>
              <Button onClick={this._openAddResourceModal.bind(this, this.props.match.params.resourceType)} bsStyle="primary">
    Severity: Minor
    Found in campfhir/app/components/resources.js - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status