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 d97d6411b789..02052f103041 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 37bdbed9d1c7..a87371f440f0 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 ( - );