Skip to content

Commit aa84cf0

Browse files
committed
add 'buttons' to list of non-data array in the plot-schema
1 parent 19d81d4 commit aa84cf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib/nested_property.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function npGet(cont, parts) {
119119
*/
120120
function isDataArray(val, key) {
121121

122-
var containers = ['annotations', 'shapes', 'range', 'domain'],
122+
var containers = ['annotations', 'shapes', 'range', 'domain', 'buttons'],
123123
isNotAContainer = containers.indexOf(key) === -1;
124124

125125
return Array.isArray(val) && isNotAContainer;

0 commit comments

Comments
 (0)