Skip to content

Commit

Permalink
lowercase ms
Browse files Browse the repository at this point in the history
  • Loading branch information
jpinsonneau committed Aug 24, 2023
1 parent cf12758 commit d321f52
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion web/locales/en/plugin__netobserv-plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,6 @@
"A IANA RCODE number like 0, 3, 9": "A IANA RCODE number like 0, 3, 9",
"A IANA RCODE name like NoError, NXDomain, NotAuth": "A IANA RCODE name like NoError, NXDomain, NotAuth",
"Specify a Flow Round Trip Time in nanoseconds.": "Specify a Flow Round Trip Time in nanoseconds.",
"Ms": "Ms",
"P": "P",
"Pps": "Pps",
"Network overview": "Network overview",
Expand Down
2 changes: 1 addition & 1 deletion web/src/utils/metrics.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ export const getFormattedValue = (v: number, mt: MetricType, mf: MetricFunction,
if (mt === 'count' || mt === 'countDns') {
return valueFormat(v);
} else if (mt === 'dnsLatencies' || mt === 'flowRtt') {
return valueFormat(v, 2, t('Ms'));
return valueFormat(v, 2, t('ms'));
} else if (mf === 'sum') {
switch (mt) {
case 'droppedBytes':
Expand Down

0 comments on commit d321f52

Please sign in to comment.