fix: row limits & row count labels are confusing (#27700)

This commit is contained in:
Maxime Beauchemin
2024-04-02 13:58:35 -07:00
committed by GitHub
parent 9fea3154fa
commit 12fe2929a4
22 changed files with 50 additions and 53 deletions

View File

@@ -44,7 +44,6 @@ import Button from 'src/components/Button';
import Popover from 'src/components/Popover';
import { prepareCopyToClipboardTabularData } from 'src/utils/common';
import CopyToClipboard from 'src/components/CopyToClipboard';
import RowCountLabel from 'src/explore/components/RowCountLabel';
import { getTimeColumns, setTimeColumns } from './utils';
export const CellNull = styled('span')`
@@ -118,14 +117,6 @@ export const FilterInput = ({
);
};
export const RowCount = ({
data,
loading,
}: {
data?: Record<string, any>[];
loading: boolean;
}) => <RowCountLabel rowcount={data?.length ?? 0} loading={loading} />;
enum FormatPickerValue {
Formatted = 'formatted',
Original = 'original',