Bug Fixed, addExtraData

This commit is contained in:
Luis Fernando Molina committed 2019-04-09 20:55:08 +02:00
1 parent 693ed736fa
commit 87fd6715ab
2 files changed
+4 -5

No files matched your search

+1 -1
View File
@@ -1366,7 +1366,7 @@
function addExtraData(pExtraDataArray) {
context.extraData = pExtraDataArray;
context.extraData.push(pExtraDataArray);
}
function truncDecimals(pFloatValue, pDecimals) {
+3 -4
View File
@@ -490,12 +490,11 @@
thisObject.newHistoryRecord.messageRelevance,
thisObject.newHistoryRecord.messageTitle,
thisObject.newHistoryRecord.messageBody
thisObject.newHistoryRecord.messageBody,
thisObject.extraData
];
let recordWithExtraData = newRecord.concat(thisObject.extraData);
thisObject.executionHistory.push(recordWithExtraData);
thisObject.executionHistory.push(newRecord);
let fileContent = JSON.stringify(thisObject.executionHistory);