18F/cg-dashboard

View on GitHub
static_src/stores/space_store.js

Summary

Maintainability
A
1 hr
Test Coverage

Function handleAction has 45 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  handleAction(action) {
    switch (action.type) {
      case orgActionTypes.ORG_RECEIVED: {
        const spaces = action.org.spaces || [];
        const spacesWithOrgGuid = spaces.map(space => {
Severity: Minor
Found in static_src/stores/space_store.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status