We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa1b3c3 commit 0b52a0bCopy full SHA for 0b52a0b
2 files changed
.changeset/odd-impalas-heal.md
@@ -0,0 +1,5 @@
1
+---
2
+"@nodesecure/vis-network": patch
3
4
+
5
+Return (stop) processing if data is either null or undefined
workspaces/vis-network/src/dataset.js
@@ -74,7 +74,7 @@ export default class NodeSecureDataSet extends EventTarget {
74
this.FLAGS = FLAGS;
75
this.data = data;
76
77
- if (data === null) {
+ if (data === null || data === undefined) {
78
return;
79
}
80
0 commit comments