diff --git a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricOverviewChart/CustomMetricOverviewChart.tsx b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricOverviewChart/CustomMetricOverviewChart.tsx index d892682f6..4b23cea29 100644 --- a/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricOverviewChart/CustomMetricOverviewChart.tsx +++ b/frontend/app/components/Dashboard/Widgets/CustomMetricsWidgets/CustomMetricOverviewChart/CustomMetricOverviewChart.tsx @@ -27,7 +27,7 @@ function CustomMetricOverviewChart(props: Props) { /> - + Unknown metric type; }; return ( - -
{renderChart()}
+ +
{renderChart()}
); } diff --git a/frontend/app/mstore/types/widget.ts b/frontend/app/mstore/types/widget.ts index 90606c99f..0eb5411dc 100644 --- a/frontend/app/mstore/types/widget.ts +++ b/frontend/app/mstore/types/widget.ts @@ -233,9 +233,7 @@ export default class Widget { this.metricOf === FilterKey.PAGES_RESPONSE_TIME_DISTRIBUTION || this.metricType === USER_PATH ? 4 - : this.metricType === WEB_VITALS - ? 1 - : 2 + : 2 } };