huridocs/uwazi

View on GitHub
app/react/V2/Components/Analitycs/Matomo.tsx

Summary

Maintainability
A
40 mins
Test Coverage
A
100%

Consider simplifying this complex logical expression.
Open

    if (!scriptIsPresent.current) {
      const script = document.createElement('script');
      const hasUserMatomo = Boolean(id && url);
      const hasGlobalMatomo = Boolean(globalUrl && globalId);

Severity: Major
Found in app/react/V2/Components/Analitycs/Matomo.tsx - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status