airbnb/caravel

View on GitHub
superset-frontend/src/components/Chart/DrillBy/useDrillByBreadcrumbs.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Function useDrillByBreadcrumbs has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  useMemo(() => {
    // the last breadcrumb is not clickable
    const isClickable = (index: number) => index < breadcrumbsData.length - 1;
    const isHidden = (breadcumb: DrillByBreadcrumb) =>
      ensureIsArray(breadcumb.groupby).length === 0 &&

    There are no issues that match your filters.

    Category
    Status