mirror of
https://github.com/apache/superset.git
synced 2026-06-09 09:39:25 +00:00
add feature flags to pag control (#1251)
This commit is contained in:
committed by
Yongjie Zhao
parent
9fe5865e05
commit
932d2cb07d
@@ -261,17 +261,20 @@ const config: ControlPanelConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
[
|
||||
{
|
||||
name: 'server_pagination',
|
||||
config: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('Server pagination'),
|
||||
description: t('Enable server side pagination of results (experimental feature)'),
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
],
|
||||
isFeatureEnabled(FeatureFlag.DASHBOARD_CROSS_FILTERS) ||
|
||||
isFeatureEnabled(FeatureFlag.DASHBOARD_NATIVE_FILTERS)
|
||||
? [
|
||||
{
|
||||
name: 'server_pagination',
|
||||
config: {
|
||||
type: 'CheckboxControl',
|
||||
label: t('Server pagination'),
|
||||
description: t('Enable server side pagination of results (experimental feature)'),
|
||||
default: false,
|
||||
},
|
||||
},
|
||||
]
|
||||
: [],
|
||||
[
|
||||
{
|
||||
name: 'row_limit',
|
||||
|
||||
Reference in New Issue
Block a user