Skip to content

Commit b584705

Browse files
code optimization
1 parent 76c735c commit b584705

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

source/js/DataController.js

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -432,13 +432,11 @@ DataController.prototype.resetRawData = function () {
432432
rawData[y][x] = {
433433
group: 1,
434434
isCaption: true,
435-
value: lp.getPivotProperty(["showRowCaption"]) !== false
436-
? (
437-
this.controller.CONFIG["caption"]
438-
|| dimCaption
439-
|| (data["info"] || {})["cubeName"]
440-
|| ""
441-
) : ""
435+
value: lp.getPivotProperty(["showRowCaption"]) === false ? "" :
436+
this.controller.CONFIG["caption"]
437+
|| dimCaption
438+
|| (data["info"] || {})["cubeName"]
439+
|| ""
442440
};
443441
applyHeaderStyle(rawData[y][x], false);
444442
} else {

0 commit comments

Comments
 (0)