This is an automated email from the ASF dual-hosted git repository.
atkach pushed a commit to branch branch-2.7
in repository https://gitbox.apache.org/repos/asf/ambari.git
The following commit(s) were added to refs/heads/branch-2.7 by this push:
new c77eba2 AMBARI-25158 Dashboard is unable to load . Common console
error : "SEVERE TypeError: widgetGroups is undefined"
c77eba2 is described below
commit c77eba2b3ec181457e914f4cb872ef0d42f9e5b7
Author: Andrii Tkach <[email protected]>
AuthorDate: Tue Feb 19 16:46:26 2019 +0200
AMBARI-25158 Dashboard is unable to load . Common console error : "SEVERE
TypeError: widgetGroups is undefined"
---
ambari-web/app/views/main/dashboard/widgets.js | 1 +
1 file changed, 1 insertion(+)
diff --git a/ambari-web/app/views/main/dashboard/widgets.js
b/ambari-web/app/views/main/dashboard/widgets.js
index bcc219f..c6001e4 100644
--- a/ambari-web/app/views/main/dashboard/widgets.js
+++ b/ambari-web/app/views/main/dashboard/widgets.js
@@ -171,6 +171,7 @@ App.MainDashboardWidgetsView = Em.View.extend(App.Persist,
App.LocalStorage, App
}
this.loadWidgetsSettings().complete(() => {
this.get('widgetGroupsDeferred').done(() => {
+ if (this.get('isDestroyed')) return;
this.checkServicesChange();
this.renderWidgets();
this.set('isDataLoaded', true);