diff --git a/superset-frontend/plugins/plugin-chart-handlebars/src/consts.ts b/superset-frontend/plugins/plugin-chart-handlebars/src/consts.ts index f474eb67b349..8b722af54352 100644 --- a/superset-frontend/plugins/plugin-chart-handlebars/src/consts.ts +++ b/superset-frontend/plugins/plugin-chart-handlebars/src/consts.ts @@ -17,23 +17,7 @@ * under the License. */ import { debounce } from 'lodash'; -import { formatSelectOptions } from '@superset-ui/chart-controls'; import { Constants } from '@superset-ui/core/components'; -import { t } from '@superset-ui/core'; - -export const PAGE_SIZE_OPTIONS = formatSelectOptions([ - [0, t('page_size.all')], - 1, - 2, - 3, - 4, - 5, - 10, - 20, - 50, - 100, - 200, -]); export const debounceFunc = debounce( (func: (val: string) => void, source: string) => func(source), diff --git a/superset-frontend/plugins/plugin-chart-table/src/consts.ts b/superset-frontend/plugins/plugin-chart-table/src/consts.ts index 58f60d049f51..e8836228f863 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/consts.ts +++ b/superset-frontend/plugins/plugin-chart-table/src/consts.ts @@ -20,7 +20,7 @@ import { formatSelectOptions } from '@superset-ui/chart-controls'; import { t } from '@superset-ui/core'; export const PAGE_SIZE_OPTIONS = formatSelectOptions([ - [0, t('page_size.all')], + [0, t('All')], 10, 20, 50,