You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by an...@apache.org on 2016/09/08 04:46:52 UTC
[35/50] [abbrv] ignite git commit: Fixed typo
Fixed typo
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/31f8d1ca
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/31f8d1ca
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/31f8d1ca
Branch: refs/heads/ignite-3629
Commit: 31f8d1ca1a0be5eaf806590f42de6e6a7b49c7b0
Parents: 05bf802
Author: Andrey Novikov <an...@apache.org>
Authored: Fri Sep 2 13:14:22 2016 +0700
Committer: Andrey Novikov <an...@apache.org>
Committed: Fri Sep 2 13:14:22 2016 +0700
----------------------------------------------------------------------
modules/web-console/frontend/app/modules/sql/sql.controller.js | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/31f8d1ca/modules/web-console/frontend/app/modules/sql/sql.controller.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/app/modules/sql/sql.controller.js b/modules/web-console/frontend/app/modules/sql/sql.controller.js
index 1c68a64..235592b 100644
--- a/modules/web-console/frontend/app/modules/sql/sql.controller.js
+++ b/modules/web-console/frontend/app/modules/sql/sql.controller.js
@@ -1581,14 +1581,14 @@ export default ['$rootScope', '$scope', '$http', '$q', '$timeout', '$interval',
};
$scope.showResultQuery = function(paragraph) {
- if (LegacyUtils.isDefined(paragraph)) {
+ if (!_.isNil(paragraph)) {
const scope = $scope.$new();
if (_.isNil(paragraph.queryArgs.query)) {
scope.title = 'SCAN query';
scope.content = [`SCAN query for cache: <b>${$scope.maskCacheName(paragraph.queryArgs.cacheName)}</b>`];
}
- if (paragraph.queryArgs.query.startsWith(SCAN_CACHE_WITH_FILTER)) {
+ else if (paragraph.queryArgs.query.startsWith(SCAN_CACHE_WITH_FILTER)) {
scope.title = 'SCAN query';
let filter = '';