You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by sh...@apache.org on 2016/11/02 08:38:52 UTC
[30/32] kylin git commit: view cube bug
view cube bug
Signed-off-by: shaofengshi <sh...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/7a379305
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/7a379305
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/7a379305
Branch: refs/heads/v1.6.0-rc1-hbase1.x
Commit: 7a3793059b5e790ba0de667b7feaabae7a468119
Parents: 7d13664
Author: luguosheng <55...@qq.com>
Authored: Wed Nov 2 16:17:15 2016 +0800
Committer: shaofengshi <sh...@apache.org>
Committed: Wed Nov 2 16:26:58 2016 +0800
----------------------------------------------------------------------
webapp/app/js/controllers/cubeEdit.js | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kylin/blob/7a379305/webapp/app/js/controllers/cubeEdit.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/controllers/cubeEdit.js b/webapp/app/js/controllers/cubeEdit.js
index 09dae15..acd4d32 100755
--- a/webapp/app/js/controllers/cubeEdit.js
+++ b/webapp/app/js/controllers/cubeEdit.js
@@ -293,11 +293,11 @@ KylinApp.controller('CubeEditCtrl', function ($scope, $q, $routeParams, $locatio
});
var queryParam = {
- cube_name: $routeParams.cubeName
+ cubeId: $routeParams.cubeName
};
- CubeService.list(queryParam, {},function(instance){
- if (instance.length > 0) {
- $scope.instance = instance[0];
+ CubeService.getCube(queryParam, {},function(instance){
+ if (instance) {
+ $scope.instance = instance;
$scope.state.cubeInstance =angular.toJson($scope.instance,true);
} else {