From 03e0e1783dcd65658ec1b5dd7dbafdb6b71f083a Mon Sep 17 00:00:00 2001 From: Johannes Schill Date: Wed, 6 Mar 2019 16:24:49 +0100 Subject: [PATCH] fix: Consistency in unit labels #15709 --- packages/grafana-ui/src/utils/valueFormats/categories.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/utils/valueFormats/categories.ts b/packages/grafana-ui/src/utils/valueFormats/categories.ts index 806da582bb3..bf89191c04c 100644 --- a/packages/grafana-ui/src/utils/valueFormats/categories.ts +++ b/packages/grafana-ui/src/utils/valueFormats/categories.ts @@ -137,7 +137,7 @@ export const getCategories = (): ValueFormatCategory[] => [ formats: [ { name: 'packets/sec', id: 'pps', fn: decimalSIPrefix('pps') }, { name: 'bits/sec', id: 'bps', fn: decimalSIPrefix('bps') }, - { name: 'bytes/sec', id: 'Bps', fn: decimalSIPrefix('B/s') }, + { name: 'bytes/sec', id: 'Bps', fn: decimalSIPrefix('Bs') }, { name: 'kilobytes/sec', id: 'KBs', fn: decimalSIPrefix('Bs', 1) }, { name: 'kilobits/sec', id: 'Kbits', fn: decimalSIPrefix('bps', 1) }, { name: 'megabytes/sec', id: 'MBs', fn: decimalSIPrefix('Bs', 2) },