airbnb/caravel

View on GitHub
superset-frontend/src/visualizations/TimeTable/transformProps.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function transformProps has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function transformProps(chartProps: TableChartProps) {
  const { height, datasource, formData, queriesData } = chartProps;
  const { columnCollection = [], groupby, metrics, url } = formData;
  const { records, columns } = queriesData[0].data;
  const isGroupBy = groupby?.length > 0;
Severity: Minor
Found in superset-frontend/src/visualizations/TimeTable/transformProps.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status