mirror of
https://github.com/directus/directus.git
synced 2026-02-01 03:15:03 -05:00
Fix abbreviate decimal places
This commit is contained in:
@@ -23,7 +23,7 @@ export function abbreviateNumber(
|
||||
i++;
|
||||
}
|
||||
|
||||
stringValue = number + units[i];
|
||||
stringValue = number.toFixed(decimalPlaces) + units[i];
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user