teableio/teable

View on GitHub
packages/sdk/src/components/base-query/QueryEditor.tsx

Summary

Maintainability
A
1 hr
Test Coverage

Avoid too many return statements within this function.
Open

      return <QueryFilter value={query.where} onChange={(where) => onChange('where', where)} />;
Severity: Major
Found in packages/sdk/src/components/base-query/QueryEditor.tsx - About 30 mins to fix

    Avoid too many return statements within this function.
    Open

          return (
            <QueryOrder
              value={query.orderBy}
              onChange={(orderBy) => {
                onChange('orderBy', orderBy);
    Severity: Major
    Found in packages/sdk/src/components/base-query/QueryEditor.tsx - About 30 mins to fix

      Avoid too many return statements within this function.
      Open

            return (
              <Input
                className="h-7 w-16 text-[13px]"
                type="number"
                value={query[type]}
      Severity: Major
      Found in packages/sdk/src/components/base-query/QueryEditor.tsx - About 30 mins to fix

        There are no issues that match your filters.

        Category
        Status