This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/trunk by this push:
new 5de78a9 AMBARI-24093 Delete Button not enabled on Druid Router
component
5de78a9 is described below
commit 5de78a9546e5cb9c0d9f5f33b46a113181e377a7
Author: Andrii Tkach <[email protected]>
AuthorDate: Wed Jun 13 18:33:52 2018 +0300
AMBARI-24093 Delete Button not enabled on Druid Router component
---
ambari-web/app/mappers/socket/topology_mapper.js | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/ambari-web/app/mappers/socket/topology_mapper.js
b/ambari-web/app/mappers/socket/topology_mapper.js
index 28d7c2e..c2bf32b 100644
--- a/ambari-web/app/mappers/socket/topology_mapper.js
+++ b/ambari-web/app/mappers/socket/topology_mapper.js
@@ -53,7 +53,7 @@ App.topologyMapper = App.QuickDataMapper.create({
applyComponentTopologyChanges: function(components, eventType) {
components.forEach((component) => {
component.hostNames.forEach((hostName, index) => {
- if (eventType === 'UPDATE' && component.version === 'UNKNOWN') {
+ if (eventType === 'UPDATE') {
this.addServiceIfNew(component.serviceName);
this.createHostComponent(component, hostName,
component.publicHostNames[index]);
App.componentsStateMapper.updateComponentCountOnCreate(component);
--
To stop receiving notification emails like this one, please contact
[email protected].