You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In GenericGrid line 362 it is assigning an empty array to d.visibleValues if d.values is not present. It should probably not assign .visibleValues at all if .values is not present. I think most of the viz scripts do a test on .visibleValues so this should be ok, but needs to be checked.
if (!d.hasOwnProperty("visibleValues")) {
if (d.values) {
//create a function to expose only the visible values
d.visibleValues = function() {
return d.values.filter(function(d) {
//assume true if prop not present
return (
(!d.hasOwnProperty("isVisible") || d.isVisible) &&
(!d.hasOwnProperty("isZoomVisible") || d.isZoomVisible)
);
});
};
} else {
d.visibleValues = [];
}
}
The text was updated successfully, but these errors were encountered:
In GenericGrid line 362 it is assigning an empty array to d.visibleValues if d.values is not present. It should probably not assign .visibleValues at all if .values is not present. I think most of the viz scripts do a test on .visibleValues so this should be ok, but needs to be checked.
The text was updated successfully, but these errors were encountered: