diff options
author | zalyalov <zalyalov@yandex-team.com> | 2023-08-18 15:15:14 +0300 |
---|---|---|
committer | zalyalov <zalyalov@yandex-team.com> | 2023-08-18 18:02:32 +0300 |
commit | 392e21c723ebcf4844c427ab1ee9af2e599a761f (patch) | |
tree | 71358b612de4e24e07793095d65f5e84de20c88d | |
parent | 94ac1bebd14a0e63811d78b5a347894cd290f139 (diff) | |
download | ydb-392e21c723ebcf4844c427ab1ee9af2e599a761f.tar.gz |
fix drain icon blinking
-rw-r--r-- | ydb/core/mind/hive/monitoring.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ydb/core/mind/hive/monitoring.cpp b/ydb/core/mind/hive/monitoring.cpp index e51596ebfda..d27a3f481ca 100644 --- a/ydb/core/mind/hive/monitoring.cpp +++ b/ydb/core/mind/hive/monitoring.cpp @@ -1660,6 +1660,7 @@ public: initReassignGroups(); var tablets_found; + var Nodes = {}; function queryTablets() { var storage_pool = $('#tablet_storage_pool').val(); @@ -1792,7 +1793,7 @@ public: function drainNode(element, nodeId) { $(element).removeClass('glyphicon-transfer'); - $.ajax({url:'app?TabletID=' + hiveId + '&node=' + nodeId + '&page=DrainNode', success: function(){ $(element).addClass('blinking'); }}); + $.ajax({url:'app?TabletID=' + hiveId + '&node=' + nodeId + '&page=DrainNode', success: function(){ $(element).addClass('blinking'); Nodes[nodeId].Drain = true; }}); } function rebalanceTablets() { @@ -1817,7 +1818,6 @@ public: out << R"___( - var Nodes = {}; var Empty = true; function onFreshData(result) { |