This is an automated email from the ASF dual-hosted git repository.
wuzhiguo 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 7907221ac8 AMBARI-25158: Dashboard is unable to load . Common console
error : "SEVERE TypeError: widgetGroups is undefined" (#3400)
7907221ac8 is described below
commit 7907221ac8b22140fbc4fcadcf8b56c072d6c5e7
Author: Zhiguo Wu <[email protected]>
AuthorDate: Thu Oct 20 15:28:10 2022 +0800
AMBARI-25158: Dashboard is unable to load . Common console error : "SEVERE
TypeError: widgetGroups is undefined" (#3400)
---
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 76c3f81c21..8d483d11d8 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);
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]