units: adds back velocity units. Fixes #14851

This commit is contained in:
Daniel Lee 2019-01-13 23:37:53 +01:00
parent db448b5d53
commit 1fea09ba54

View File

@ -299,6 +299,15 @@ export const getCategories = (): ValueFormatCategory[] => [
{ name: 'writes/min (wpm)', id: 'wpm', fn: simpleCountUnit('wpm') },
],
},
{
name: 'velocity',
formats: [
{ name: 'metres/second (m/s)', id: 'velocityms', fn: toFixedUnit('m/s') },
{ name: 'kilometers/hour (km/h)', id: 'velocitykmh', fn: toFixedUnit('km/h') },
{ name: 'miles/hour (mph)', id: 'velocitymph', fn: toFixedUnit('mph') },
{ name: 'knot (kn)', id: 'velocityknot', fn: toFixedUnit('kn') },
]
},
{
name: 'volume',
formats: [