From 45e0ebcc575bc4a5386426fe50564f033a0728c2 Mon Sep 17 00:00:00 2001 From: andreaslangnevyjel Date: Fri, 4 Oct 2019 09:21:48 +0200 Subject: [PATCH] Units: fixed wrong id for Terabits/sec (#19611) --- 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 8a795efb903..fbe921069df 100644 --- a/packages/grafana-ui/src/utils/valueFormats/categories.ts +++ b/packages/grafana-ui/src/utils/valueFormats/categories.ts @@ -155,7 +155,7 @@ export const getCategories = (): ValueFormatCategory[] => [ { name: 'gigabytes/sec', id: 'GBs', fn: decimalSIPrefix('Bs', 3) }, { name: 'gigabits/sec', id: 'Gbits', fn: decimalSIPrefix('bps', 3) }, { name: 'terabytes/sec', id: 'TBs', fn: decimalSIPrefix('Bs', 4) }, - { name: 'terabits/sec', id: 'Gbits', fn: decimalSIPrefix('bps', 4) }, + { name: 'terabits/sec', id: 'Tbits', fn: decimalSIPrefix('bps', 4) }, { name: 'petabytes/sec', id: 'PBs', fn: decimalSIPrefix('Bs', 5) }, { name: 'petabits/sec', id: 'Pbits', fn: decimalSIPrefix('bps', 5) }, ],