Преглед на файлове

AMBARI-3769 Visible HbaseMaster in components list after it was removed. (atkach)

atkach преди 11 години
родител
ревизия
e3de66656a
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      ambari-web/app/mappers/hosts_mapper.js

+ 3 - 0
ambari-web/app/mappers/hosts_mapper.js

@@ -173,6 +173,9 @@ App.hostsMapper = App.QuickDataMapper.create({
       if (JSON.stringify(current.disk_info) !== JSON.stringify(previous.disk_info)) {
         result.disk_info = current.disk_info;
       }
+      if (JSON.stringify(current.host_components) !== JSON.stringify(previous.host_components)) {
+        result.host_components = current.host_components;
+      }
       result.last_heart_beat_time = current.last_heart_beat_time;
       return result;
     }