diff --git a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/get_columns.tsx b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/get_columns.tsx index 30dc138e829eb..522dc0cfcd48b 100644 --- a/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/get_columns.tsx +++ b/x-pack/plugins/apm/public/components/app/service_overview/service_overview_transactions_table/get_columns.tsx @@ -155,19 +155,19 @@ export function getColumns({ ), width: px(unit * 5), render: (_, { name }) => { - const currenIimpact = + const currentImpact = transactionGroupComparisonStatistics?.currentPeriod?.[name]?.impact ?? 0; - const previousIimpact = + const previousImpact = transactionGroupComparisonStatistics?.previousPeriod?.[name] ?.impact ?? 0; return ( - + - + ); diff --git a/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx b/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx index e8568ffa278af..3936a81125e1c 100644 --- a/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx +++ b/x-pack/plugins/apm/public/components/shared/charts/spark_plot/index.tsx @@ -75,7 +75,7 @@ export function SparkPlot({ width: compact ? px(unit * 3) : px(unit * 4), }; - const SparklinesSeries = hasComparisonSeries ? LineSeries : AreaSeries; + const SparkelineSeries = hasComparisonSeries ? LineSeries : AreaSeries; return ( @@ -98,8 +98,8 @@ export function SparkPlot({ showLegend={false} tooltip="none" /> - diff --git a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_comparison_statistics.ts b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_comparison_statistics.ts index cf3db799cdfbc..eb6181c1498e0 100644 --- a/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_comparison_statistics.ts +++ b/x-pack/test/apm_api_integration/tests/transactions/transactions_groups_comparison_statistics.ts @@ -199,7 +199,7 @@ export default function ApiTest({ getService }: FtrProviderContext) { previousPeriod = response.body.previousPeriod; }); - it('returns corrent number of items', () => { + it('returns correct number of items', () => { expect(Object.keys(currentPeriod)).to.be.eql(transactionNames); expect(Object.keys(previousPeriod)).to.be.eql(transactionNames);