fix: page size options 'all' correct in table and remove PAGE_SIZE_OPTIONS in handlebars (#35095)

This commit is contained in:
SBIN2010
2025-09-11 22:46:48 +03:00
committed by GitHub
parent 454ed1883f
commit 06261f262b
2 changed files with 1 additions and 17 deletions

View File

@@ -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<number>([
[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),