This is an automated email from the ASF dual-hosted git repository.
ababiichuk 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 4b22a9b AMBARI-23658 No widgets displayed on dashboard after adding
third NameNode namespace. (ababiichuk)
4b22a9b is described below
commit 4b22a9b1642097bcaec1f69b1d7cc30fcea7f508
Author: ababiichuk <[email protected]>
AuthorDate: Mon Apr 23 13:42:51 2018 +0300
AMBARI-23658 No widgets displayed on dashboard after adding third NameNode
namespace. (ababiichuk)
---
ambari-web/app/views/main/dashboard/widgets.js | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ambari-web/app/views/main/dashboard/widgets.js
b/ambari-web/app/views/main/dashboard/widgets.js
index a412fbb..64412f3 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -547,6 +547,10 @@ App.MainDashboardWidgetsView = Em.View.extend(App.Persist,
App.LocalStorage, App
subGroup
});
}
+ if (!preferences.threshold[subGroup]) {
+ isChanged = true;
+ preferences.threshold[subGroup] =
defaultPreferences.groups[groupName]['*'].threshold[subGroup];
+ }
});
}
});
--
To stop receiving notification emails like this one, please contact
[email protected].