diff --git a/web/src/main/webapp/features/agentInfo/agent-info.directive.js b/web/src/main/webapp/features/agentInfo/agent-info.directive.js index 763da4d07..cd7e6a9dd 100644 --- a/web/src/main/webapp/features/agentInfo/agent-info.directive.js +++ b/web/src/main/webapp/features/agentInfo/agent-info.directive.js @@ -274,7 +274,7 @@ var key = dataSourceIdPrefix + obj.id; scope.dataSourceChartCheckedKeys[key] = index < 30 ? true : false; return { - display: index, + display: obj.databaseName ? obj.databaseName : obj.id, value: key }; }); diff --git a/web/src/main/webapp/features/agentInfo/agentInfoMain.html b/web/src/main/webapp/features/agentInfo/agentInfoMain.html index 978ff81cc..f977e18bd 100644 --- a/web/src/main/webapp/features/agentInfo/agentInfoMain.html +++ b/web/src/main/webapp/features/agentInfo/agentInfoMain.html @@ -209,7 +209,7 @@