Repository: kylin Updated Branches: refs/heads/master 39949c38d -> c051fb815
KYLIN-3104: When the user log out from "Monitor" page, an alert dialog will pop up warning "Failed to load query." Project: http://git-wip-us.apache.org/repos/asf/kylin/repo Commit: http://git-wip-us.apache.org/repos/asf/kylin/commit/c051fb81 Tree: http://git-wip-us.apache.org/repos/asf/kylin/tree/c051fb81 Diff: http://git-wip-us.apache.org/repos/asf/kylin/diff/c051fb81 Branch: refs/heads/master Commit: c051fb815f4f86eb098a3db9fd2428a56cb428cd Parents: 39949c3 Author: peng.jianhua <[email protected]> Authored: Thu Dec 14 14:21:38 2017 +0800 Committer: chenzhx <[email protected]> Committed: Tue Dec 19 11:12:05 2017 +0800 ---------------------------------------------------------------------- webapp/app/js/controllers/badQuery.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kylin/blob/c051fb81/webapp/app/js/controllers/badQuery.js ---------------------------------------------------------------------- diff --git a/webapp/app/js/controllers/badQuery.js b/webapp/app/js/controllers/badQuery.js index 65cf65b..1218159 100644 --- a/webapp/app/js/controllers/badQuery.js +++ b/webapp/app/js/controllers/badQuery.js @@ -33,7 +33,7 @@ KylinApp $scope.list = function(){ var _project = ProjectModel.selectedProject; $scope.badQueryList = []; - if (_project == null){ + if (_project == null || _project=="_null"){ $scope.bqstate.loading = false; return; }
