We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 39684f2 commit 3b73980Copy full SHA for 3b73980
src/app/shared/financialData.ts
@@ -897,7 +897,7 @@ export class FinancialData {
897
for (const dataRow of data) {
898
newData.push(this.randomizeObjectData(dataRow));
899
}
900
- return newData;
+ return Array.from(data);
901
902
903
/** Updates values in random records */
@@ -959,7 +959,6 @@ export class FinancialData {
959
dataObj.Change = res.Price - dataObj.Price;
960
dataObj.Price = res.Price;
961
dataObj[changeP] = res.ChangePercent;
962
- return {...dataObj};
963
964
965
private static generateNewPrice(oldPrice): any {
0 commit comments