Parcourir la source

Merge pull request #15483 from klaernie/patch-1

Add Lux to units
Torkel Ödegaard il y a 6 ans
Parent
commit
730515d8dc
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/grafana-ui/src/utils/valueFormats/categories.ts

+ 1 - 0
packages/grafana-ui/src/utils/valueFormats/categories.ts

@@ -191,6 +191,7 @@ export const getCategories = (): ValueFormatCategory[] => [
       { name: 'Litre/hour', id: 'litreh', fn: toFixedUnit('l/h') },
       { name: 'Litre/min (l/min)', id: 'flowlpm', fn: toFixedUnit('l/min') },
       { name: 'milliLitre/min (mL/min)', id: 'flowmlpm', fn: toFixedUnit('mL/min') },
+      { name: 'Lux (lx)', id: 'lux', fn: toFixedUnit('lux') },
     ],
   },
   {