Skip to content

Commit 0ea9c0c

Browse files
default format fix (deprecated property)
1 parent 271b344 commit 0ea9c0c

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "LightPivotTable",
33
"author": "ZitRo",
4-
"version": "1.1.1",
4+
"version": "1.1.2",
55
"description": "A lightweight pivot table for MDX2JSON source for InterSystems Cache",
66
"main": "test/testServer.js",
77
"repository": {

source/js/PivotView.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -807,7 +807,7 @@ PivotView.prototype.renderRawData = function (data) {
807807
} else { // number
808808
if (format) { // set format
809809
element.textContent = value ? _.numeral(value).format(format) : "";
810-
} else if (value && info.defaultFormat) {
810+
} else if (value) {
811811
element.textContent = _.numeral(value).format(
812812
value % 1 === 0 ? "#,###" : "#,###.##"
813813
);

0 commit comments

Comments
 (0)