Explorar el Código

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

atkach hace 11 años
padre
commit
e3de66656a
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  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;
     }