aboutsummaryrefslogtreecommitdiffstats
path: root/interface/js/app/graph.js
diff options
context:
space:
mode:
Diffstat (limited to 'interface/js/app/graph.js')
-rw-r--r--interface/js/app/graph.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/interface/js/app/graph.js b/interface/js/app/graph.js
index ea330aef6..a661d4a19 100644
--- a/interface/js/app/graph.js
+++ b/interface/js/app/graph.js
@@ -209,7 +209,7 @@ define(["jquery", "app/rspamd", "d3evolution", "d3pie", "d3", "footable"],
.map(function (d) { return d.data; });
if (neighbours_data.length === 1) {
- data = neighbours_data[0];
+ [data] = neighbours_data;
} else {
let time_match = true;
neighbours_data.reduce(function (res, curr, _, arr) {