You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by li...@apache.org on 2016/11/06 09:30:56 UTC
[20/49] 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/effb57ed
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/effb57ed
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/effb57ed
Branch: refs/heads/KYLIN-1971
Commit: effb57edb32a4c8599a742c0f30b37ae6f1c45c4
Parents: 56e600f
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:36 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/effb57ed/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 {