From ac01a1b02f92ef427fe8120e0dd0e153cdfb6a84 Mon Sep 17 00:00:00 2001 From: Diego Medina Date: Thu, 7 Jul 2022 01:09:23 -0300 Subject: [PATCH] chore: Set table viz default row limit to 1000 (#20475) --- .../plugins/plugin-chart-table/src/controlPanel.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx index 8ef66e8a9..51639d0f3 100644 --- a/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx +++ b/superset-frontend/plugins/plugin-chart-table/src/controlPanel.tsx @@ -317,6 +317,7 @@ const config: ControlPanelConfig = { { name: 'row_limit', override: { + default: 1000, visibility: ({ controls }: ControlPanelsContainerProps) => !controls?.server_pagination?.value, },