GladysProject/Gladys

View on GitHub
front/src/routes/settings/settings-service/ServiceItem.jsx

Summary

Maintainability
A
2 hrs
Test Coverage

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

  render({ service, integrations = [] }, { changeStatus }) {
    const started = STARTED_STATUS.includes(service.status);
    const displayAction = !HIDDEN_ACTION_STATUS.includes(service.status);
    const integrationPage = integrations.find(
      integration => get(integration, 'link', { default: integration.key }).toLowerCase() === service.selector
Severity: Major
Found in front/src/routes/settings/settings-service/ServiceItem.jsx - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status