This commit is contained in:
Anna Sudnitsina 2018-03-22 17:06:54 +03:00
parent 01147d2645
commit a6a1e60d23

View File

@ -68,7 +68,7 @@ function displayData(a){
$("#statusContainer:contains('resizing')").css("background-color", "#ff9800");
$("#statusContainer:contains('deadly')").css("background-color", "#f44336");;
// if (node2 != undefined) {
var one = a.quorum.map(function(item) {return item.node});
var one = a.quorum.map(function(item) {return item.node}) || undefined;
var two = node2.quorum.map(function(item) {return item.node});
if (JSON.stringify(one) != JSON.stringify(two)) {
node2 = a;