You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by at...@apache.org on 2019/02/19 16:33:06 UTC
[ambari] branch branch-2.7 updated: AMBARI-25158 Dashboard is
unable to load . Common console error : "SEVERE TypeError: widgetGroups is
undefined"
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 <at...@apache.org>
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);