You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by as...@apache.org on 2018/08/01 09:37:42 UTC
[incubator-servicecomb-service-center] branch master updated: Make
Instance statistics non-clickable (#406)
This is an automated email from the ASF dual-hosted git repository.
asifdxtreme pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-servicecomb-service-center.git
The following commit(s) were added to refs/heads/master by this push:
new cc38ea6 Make Instance statistics non-clickable (#406)
cc38ea6 is described below
commit cc38ea694f0c4588cee331ec0d44f43242c83401
Author: Mohammad Asif Siddiqui <mo...@huawei.com>
AuthorDate: Wed Aug 1 15:07:39 2018 +0530
Make Instance statistics non-clickable (#406)
---
frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js | 2 +-
frontend/app/scripts/modules/dashboard/views/dashboard.html | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js b/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js
index daedfbe..ead2f05 100644
--- a/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js
+++ b/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js
@@ -156,7 +156,7 @@ angular.module('serviceCenter.dashboard', [])
};
$scope.goToServices = function(status) {
- $state.go("sc.allServices", {
+ $state.go("sc.instances", {
status: status
});
};
diff --git a/frontend/app/scripts/modules/dashboard/views/dashboard.html b/frontend/app/scripts/modules/dashboard/views/dashboard.html
index 763d512..27d8181 100644
--- a/frontend/app/scripts/modules/dashboard/views/dashboard.html
+++ b/frontend/app/scripts/modules/dashboard/views/dashboard.html
@@ -114,7 +114,7 @@ limitations under the License..
<div class="row m0">
<div class="col-md-2 box" data-ng-repeat="data in instanceStat">
<div class="c100 p{{data.percent}}">
- <span class="pointer" ng-click="goToServices(data.status)">{{data.percent}}%</span>
+ <span class="pointer">{{data.percent}}%</span>
<div class="slice">
<div class="bar"></div>
<div class="fill"></div>