@@ -59,41 +59,41 @@ export const ElementPanelStats: React.FC<{
5959 < Text id = "metrics-stats-in" > { isEdge ? t ( 'A -> B' ) : t ( 'In' ) } </ Text >
6060 </ FlexItem >
6161 < FlexItem >
62- < Text id = "metrics-stats-avg-in" > { getFormattedValue ( averageIn , metricType , 'avg' ) } </ Text >
62+ < Text id = "metrics-stats-avg-in" > { getFormattedValue ( averageIn , metricType , 'avg' , t ) } </ Text >
6363 </ FlexItem >
6464 < FlexItem >
65- < Text id = "metrics-stats-latest-in" > { getFormattedValue ( latestIn , metricType , 'last' ) } </ Text >
65+ < Text id = "metrics-stats-latest-in" > { getFormattedValue ( latestIn , metricType , 'last' , t ) } </ Text >
6666 </ FlexItem >
6767 < FlexItem >
68- < Text id = "metrics-stats-total-in" > { getFormattedValue ( totalIn , metricType , 'sum' ) } </ Text >
68+ < Text id = "metrics-stats-total-in" > { getFormattedValue ( totalIn , metricType , 'sum' , t ) } </ Text >
6969 </ FlexItem >
7070 </ Flex >
7171 < Flex direction = { { default : 'column' } } spaceItems = { { default : 'spaceItemsNone' } } >
7272 < FlexItem >
7373 < Text id = "metrics-stats-out" > { isEdge ? t ( 'B -> A' ) : t ( 'Out' ) } </ Text >
7474 </ FlexItem >
7575 < FlexItem >
76- < Text id = "metrics-stats-avg-out" > { getFormattedValue ( averageOut , metricType , 'avg' ) } </ Text >
76+ < Text id = "metrics-stats-avg-out" > { getFormattedValue ( averageOut , metricType , 'avg' , t ) } </ Text >
7777 </ FlexItem >
7878 < FlexItem >
79- < Text id = "metrics-stats-latest-out" > { getFormattedValue ( latestOut , metricType , 'last' ) } </ Text >
79+ < Text id = "metrics-stats-latest-out" > { getFormattedValue ( latestOut , metricType , 'last' , t ) } </ Text >
8080 </ FlexItem >
8181 < FlexItem >
82- < Text id = "metrics-stats-total-out" > { getFormattedValue ( totalOut , metricType , 'sum' ) } </ Text >
82+ < Text id = "metrics-stats-total-out" > { getFormattedValue ( totalOut , metricType , 'sum' , t ) } </ Text >
8383 </ FlexItem >
8484 </ Flex >
8585 < Flex direction = { { default : 'column' } } spaceItems = { { default : 'spaceItemsNone' } } >
8686 < FlexItem >
8787 < Text id = "metrics-stats-both" > { t ( 'Both' ) } </ Text >
8888 </ FlexItem >
8989 < FlexItem >
90- < Text id = "metrics-stats-avg-both" > { getFormattedValue ( averageBoth , metricType , 'avg' ) } </ Text >
90+ < Text id = "metrics-stats-avg-both" > { getFormattedValue ( averageBoth , metricType , 'avg' , t ) } </ Text >
9191 </ FlexItem >
9292 < FlexItem >
93- < Text id = "metrics-stats-latest-both" > { getFormattedValue ( latestBoth , metricType , 'last' ) } </ Text >
93+ < Text id = "metrics-stats-latest-both" > { getFormattedValue ( latestBoth , metricType , 'last' , t ) } </ Text >
9494 </ FlexItem >
9595 < FlexItem >
96- < Text id = "metrics-stats-total-both" > { getFormattedValue ( totalBoth , metricType , 'sum' ) } </ Text >
96+ < Text id = "metrics-stats-total-both" > { getFormattedValue ( totalBoth , metricType , 'sum' , t ) } </ Text >
9797 </ FlexItem >
9898 </ Flex >
9999 </ Flex >
0 commit comments