Skip to content

Commit

Permalink
code optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
nikitaeverywhere committed Jun 26, 2015
1 parent 76c735c commit b584705
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions source/js/DataController.js
Original file line number Diff line number Diff line change
Expand Up @@ -432,13 +432,11 @@ DataController.prototype.resetRawData = function () {
rawData[y][x] = {
group: 1,
isCaption: true,
value: lp.getPivotProperty(["showRowCaption"]) !== false
? (
this.controller.CONFIG["caption"]
|| dimCaption
|| (data["info"] || {})["cubeName"]
|| ""
) : ""
value: lp.getPivotProperty(["showRowCaption"]) === false ? "" :
this.controller.CONFIG["caption"]
|| dimCaption
|| (data["info"] || {})["cubeName"]
|| ""
};
applyHeaderStyle(rawData[y][x], false);
} else {
Expand Down

0 comments on commit b584705

Please sign in to comment.