Add missing thousands separator in charts Y-axis (https://github.com/woocommerce/woocommerce-admin/pull/1312)

This commit is contained in:
Albert Juhé Lluveras 2019-01-17 10:18:28 +01:00 committed by GitHub
parent da22cbdc9d
commit 0cda85b997
1 changed files with 2 additions and 2 deletions

View File

@ -272,13 +272,13 @@ class Chart extends Component {
switch ( valueType ) {
case 'average':
yFormat = '.0f';
yFormat = ',.0f';
break;
case 'currency':
yFormat = '$.3~s';
break;
case 'number':
yFormat = '.0f';
yFormat = ',.0f';
break;
}
return (