Skip to content

Commit 6a9424d

Browse files
committed
fix label missing on summary row logic
(cherry picked from commit 4ef0ee4)
1 parent cf68a16 commit 6a9424d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • knowage-export/src/main/java/it/eng/knowage/engine/api/export/oldcockpit

knowage-export/src/main/java/it/eng/knowage/engine/api/export/oldcockpit/ExcelExporter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1065,7 +1065,7 @@ private int doCockpitSummaryRowsLogic(JSONObject widgetData, int numberOfSummary
10651065
numberOfSummaryRows = list.length();
10661066

10671067
for (int i = 0; i < numberOfSummaryRows; i++) {
1068-
summaryRowsLabels.add(list.getJSONObject(i).getString("label"));
1068+
summaryRowsLabels.add(list.getJSONObject(i).optString("label", ""));
10691069
}
10701070

10711071
}

0 commit comments

Comments
 (0)