We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c0b2d43 commit f4aa9daCopy full SHA for f4aa9da
packages/project-editor/flow/components/actions/instrument.tsx
@@ -1633,7 +1633,7 @@ export class AddToInstrumentHistoryActionComponent extends ActionComponent {
1633
return;
1634
}
1635
1636
- const message: any = {
+ message = {
1637
state: "success",
1638
fileType: { mime: "application/eez-raw" },
1639
description: chartDescription,
@@ -1661,11 +1661,10 @@ export class AddToInstrumentHistoryActionComponent extends ActionComponent {
1661
1662
},
1663
horizontalScale: chartHorizontalScale,
1664
- verticalScale: chartVerticalScale
+ verticalScale: chartVerticalScale,
1665
+ dataLength: chartData.length
1666
};
1667
- message.dataLength = chartData.length;
1668
-
1669
historyItemType = "instrument/file-download";
1670
} else if (
1671
itemType ==
0 commit comments