RocketChat/Rocket.Chat

View on GitHub
apps/meteor/client/views/admin/integrations/IntegrationsRoute.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function IntegrationsRoute has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

const IntegrationsRoute = () => {
    const context = useRouteParameter('context');
    const integrationId = useRouteParameter('id');

    const canViewIntegrationsPage = useAtLeastOnePermission(
Severity: Minor
Found in apps/meteor/client/views/admin/integrations/IntegrationsRoute.tsx - About 1 hr to fix

    Avoid too many return statements within this function.
    Open

        return <IntegrationsPage />;
    Severity: Major
    Found in apps/meteor/client/views/admin/integrations/IntegrationsRoute.tsx - About 30 mins to fix

      There are no issues that match your filters.

      Category
      Status