Skip to content

Commit

Permalink
Merge pull request #7720 from mitjaziv/cubic_decimetre
Browse files Browse the repository at this point in the history
added cubic decimetre - dm3 #7695
  • Loading branch information
daniellee authored Mar 7, 2017
2 parents 70c2586 + 7ace246 commit 4ee262f
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions public/app/core/utils/kbn.js
Original file line number Diff line number Diff line change
Expand Up @@ -488,6 +488,7 @@ function($, _) {
kbn.valueFormats.litre = kbn.formatBuilders.decimalSIPrefix('L');
kbn.valueFormats.mlitre = kbn.formatBuilders.decimalSIPrefix('L', -1);
kbn.valueFormats.m3 = kbn.formatBuilders.decimalSIPrefix('m3');
kbn.valueFormats.dm3 = kbn.formatBuilders.decimalSIPrefix('dm3');
kbn.valueFormats.gallons = kbn.formatBuilders.fixedUnit('gal');

// Flow
Expand Down Expand Up @@ -805,10 +806,11 @@ function($, _) {
{
text: 'volume',
submenu: [
{text: 'millilitre', value: 'mlitre' },
{text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' },
{text: 'gallons', value: 'gallons'},
{text: 'millilitre', value: 'mlitre' },
{text: 'litre', value: 'litre' },
{text: 'cubic metre', value: 'm3' },
{text: 'cubic decimetre', value: 'dm3' },
{text: 'gallons', value: 'gallons'},
]
},
{
Expand Down

0 comments on commit 4ee262f

Please sign in to comment.