You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kylin.apache.org by zh...@apache.org on 2015/12/08 13:06:00 UTC

[2/2] kylin git commit: KYLIN-1041 streaming UI,update validate rule

KYLIN-1041 streaming UI,update validate rule


Project: http://git-wip-us.apache.org/repos/asf/kylin/repo
Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/a78d710e
Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/a78d710e
Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/a78d710e

Branch: refs/heads/2.0-rc
Commit: a78d710e51d07ca6f7beb2e21fef7305786f6fe0
Parents: cc7124b
Author: jian <ji...@apache.org>
Authored: Tue Dec 8 15:30:26 2015 +0800
Committer: jian <ji...@apache.org>
Committed: Tue Dec 8 20:05:45 2015 +0800

----------------------------------------------------------------------
 webapp/app/js/controllers/cubeEdit.js | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kylin/blob/a78d710e/webapp/app/js/controllers/cubeEdit.js
----------------------------------------------------------------------
diff --git a/webapp/app/js/controllers/cubeEdit.js b/webapp/app/js/controllers/cubeEdit.js
index ae4a0f1..30f2ab4 100755
--- a/webapp/app/js/controllers/cubeEdit.js
+++ b/webapp/app/js/controllers/cubeEdit.js
@@ -139,10 +139,12 @@ KylinApp.controller('CubeEditCtrl', function ($scope, $q, $routeParams, $locatio
         $scope.state.cubeSchema = angular.toJson($scope.cubeMetaFrame, true);
 
         StreamingService.getConfig({cubeName:$scope.cubeMetaFrame.name}, function (kfkConfigs) {
-
           if(!!kfkConfigs[0]){
             $scope.cubeState.isStreaming = true;
           }
+          else{
+            return;
+          }
           $scope.streamingMeta = kfkConfigs[0];
           StreamingService.getKfkConfig({kafkaConfigName:$scope.streamingMeta.name}, function (streamings) {
             $scope.kafkaMeta = streamings[0];