Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit b24906e

Browse files
committed
Fix hover error in appendArrayPointValue
1 parent 5e70d3b commit b24906e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/components/fx/helpers.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,10 @@ function quadrature(dx, dy) {
9494
exports.appendArrayPointValue = function(pointData, trace, pointNumber) {
9595
var arrayAttrs = trace._arrayAttrs;
9696

97+
if(!arrayAttrs) {
98+
return;
99+
}
100+
97101
for(var i = 0; i < arrayAttrs.length; i++) {
98102
var astr = arrayAttrs[i];
99103
var key;

0 commit comments

Comments
 (0)