diff --git a/superset-frontend/plugins/plugin-chart-table/src/DataTable/components/SelectPageSize.tsx b/superset-frontend/plugins/plugin-chart-table/src/DataTable/components/SelectPageSize.tsx index d97d6411b7..02052f1030 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/DataTable/components/SelectPageSize.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/DataTable/components/SelectPageSize.tsx @@ -48,8 +48,13 @@ function DefaultSelectRenderer({ const [size, text] = Array.isArray(option) ? option : [option, option]; + const sizeLabel = size === 0 ? t('all') : size; return ( - ); diff --git a/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx b/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx index 37bdbed9d1..a87371f440 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/TableChart.tsx @@ -181,10 +181,10 @@ function SearchInput({ count, value, onChange }: SearchInputProps) { {t('Search')}{' '} @@ -211,8 +211,13 @@ function SelectPageSize({ const [size, text] = Array.isArray(option) ? option : [option, option]; + const sizeLabel = size === 0 ? t('all') : size; return ( - );