You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicecomb.apache.org by GitBox <gi...@apache.org> on 2018/08/01 09:37:41 UTC

[GitHub] asifdxtreme closed pull request #406: Make Instance statistics non-clickable

asifdxtreme closed pull request #406: Make Instance statistics non-clickable
URL: https://github.com/apache/incubator-servicecomb-service-center/pull/406
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git a/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js b/frontend/app/scripts/modules/dashboard/controllers/dashboardCtrl.js
index daedfbe8..ead2f050 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 763d5122..27d8181c 100644
--- a/frontend/app/scripts/modules/dashboard/views/dashboard.html
+++ b/frontend/app/scripts/modules/dashboard/views/dashboard.html
@@ -114,7 +114,7 @@
             <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>


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services