File tree Expand file tree Collapse file tree 2 files changed +1
-17
lines changed
superset-frontend/plugins
plugin-chart-handlebars/src Expand file tree Collapse file tree 2 files changed +1
-17
lines changed Original file line number Diff line number Diff line change 17
17
* under the License.
18
18
*/
19
19
import { debounce } from 'lodash' ;
20
- import { formatSelectOptions } from '@superset-ui/chart-controls' ;
21
20
import { Constants } from '@superset-ui/core/components' ;
22
- import { t } from '@superset-ui/core' ;
23
-
24
- export const PAGE_SIZE_OPTIONS = formatSelectOptions < number > ( [
25
- [ 0 , t ( 'page_size.all' ) ] ,
26
- 1 ,
27
- 2 ,
28
- 3 ,
29
- 4 ,
30
- 5 ,
31
- 10 ,
32
- 20 ,
33
- 50 ,
34
- 100 ,
35
- 200 ,
36
- ] ) ;
37
21
38
22
export const debounceFunc = debounce (
39
23
( func : ( val : string ) => void , source : string ) => func ( source ) ,
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ import { formatSelectOptions } from '@superset-ui/chart-controls';
20
20
import { t } from '@superset-ui/core' ;
21
21
22
22
export const PAGE_SIZE_OPTIONS = formatSelectOptions < number > ( [
23
- [ 0 , t ( 'page_size.all ' ) ] ,
23
+ [ 0 , t ( 'All ' ) ] ,
24
24
10 ,
25
25
20 ,
26
26
50 ,
You can’t perform that action at this time.
0 commit comments