FIX: dashboard auto refresh stopped working

This commit is contained in:
Arik Fraimovich 2015-01-19 08:32:40 +02:00
parent 77d982b4aa
commit 6da890dfb8

View File

@ -75,7 +75,7 @@
_.each(row, function(widget, i) {
var newWidget = newWidgets[widget.id];
if (newWidget && newWidget[0].visualization.query.latest_query_data_id != widget.visualization.query.latest_query_data_id) {
row[i] = newWidget[0];
row[i] = new Widget(newWidget[0]);
}
});
});