diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx index d22f351d9..4daa643d7 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricTableErrors/CustomMetricTableErrors.tsx @@ -61,23 +61,23 @@ function CustomMetricTableErrors(props: RouteComponentProps & Props) { ))} - {isEdit && ( -
- - metric.updateKey("page", page) - } - limit={metric.limit} - debounceRequest={500} - /> -
- )} + {/*{isEdit && (*/} +
+ + metric.updateKey("page", page) + } + limit={5} + debounceRequest={500} + /> +
+ {/*)}*/} - {!isEdit && ( - - )} + {/*{!isEdit && (*/} + {/* */} + {/*)}*/} ); diff --git a/frontend/app/mstore/dashboardStore.ts b/frontend/app/mstore/dashboardStore.ts index 0c1464815..ea0454834 100644 --- a/frontend/app/mstore/dashboardStore.ts +++ b/frontend/app/mstore/dashboardStore.ts @@ -424,6 +424,10 @@ export default class DashboardStore { return new Promise(async (resolve, reject) => { this.pendingRequests += 1; + if (metric.metricType === 'table' && metric.metricOf === 'jsException') { + params.limit = 5; + } + try { const data = await metricService.getMetricChartData(metric, params, isSaved); resolve(metric.setData(data, period));