@genesislcap/blank-app-seed 3.10.0 → 3.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.genx/package.json +1 -1
- package/.genx/versions.json +1 -1
- package/CHANGELOG.md +14 -0
- package/client/src/utils/formatters.ts +2 -1
- package/package.json +1 -1
package/.genx/package.json
CHANGED
package/.genx/versions.json
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,19 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [3.10.2](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.1...v3.10.2) (2024-05-21)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* bigdecimal number formatting GENC-496 (#215) df6c8ba
|
|
9
|
+
|
|
10
|
+
## [3.10.1](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.10.0...v3.10.1) (2024-05-20)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* automated dependency version update [skip-ci] [PSD-9](https://github.com/genesiscommunitysuccess/blank-app-seed/issues/9) (#214) e54dfdd
|
|
16
|
+
|
|
3
17
|
## [3.10.0](https://github.com/genesiscommunitysuccess/blank-app-seed/compare/v3.9.3...v3.10.0) (2024-05-17)
|
|
4
18
|
|
|
5
19
|
|
|
@@ -10,7 +10,8 @@ const defaultDateOptions: Intl.DateTimeFormatOptions = {
|
|
|
10
10
|
|
|
11
11
|
export function getNumberFormatter(format: string, locale?: string) {
|
|
12
12
|
return (params) => {
|
|
13
|
-
|
|
13
|
+
// bigdecimals are sent as strings
|
|
14
|
+
if (!(params && typeof params.value === 'number' || typeof params.value === 'string')) return '';
|
|
14
15
|
|
|
15
16
|
if (locale) {
|
|
16
17
|
Numeral.locale(locale);
|