Skip to content

Commit 0d91074

Browse files
committed
exclude values of incomplete 2d arrays from event data
1 parent 0aa87c9 commit 0d91074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/fx/helpers.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ exports.appendArrayPointValue = function(pointData, trace, pointNumber) {
110110
var val = Lib.nestedProperty(trace, astr).get();
111111

112112
if(Array.isArray(pointNumber)) {
113-
if(Array.isArray(val) && Array.isArray(val[0])) {
113+
if(Array.isArray(val) && Array.isArray(val[pointNumber[0]])) {
114114
pointData[key] = val[pointNumber[0]][pointNumber[1]];
115115
}
116116
} else {

0 commit comments

Comments
 (0)