ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Fixed caches links to metadata .
Date Mon, 31 Aug 2015 14:37:55 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 d4980a0a1 -> d5dcccab1


IGNITE-843 Fixed caches links to metadata .


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

Branch: refs/heads/ignite-843
Commit: d5dcccab1ec5ab369f1ab7400474cdeab9a143cd
Parents: d4980a0
Author: AKuznetsov <akuznetsov@gridgain.com>
Authored: Mon Aug 31 21:37:52 2015 +0700
Committer: AKuznetsov <akuznetsov@gridgain.com>
Committed: Mon Aug 31 21:37:52 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/caches-controller.js                 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/d5dcccab/modules/control-center-web/src/main/js/controllers/caches-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/caches-controller.js b/modules/control-center-web/src/main/js/controllers/caches-controller.js
index 0042838..0debcfa 100644
--- a/modules/control-center-web/src/main/js/controllers/caches-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/caches-controller.js
@@ -247,13 +247,13 @@ controlCenterModule.controller('cachesController', [
 
                     if (restoredItem) {
                         restoredItem.queryMetadata = _.filter(restoredItem.queryMetadata,
function (metaId) {
-                            return _.findIndex($scope.metadatas, function (scopeMeta) {
+                            return _.findIndex(metadatas, function (scopeMeta) {
                                     return scopeMeta.value == metaId;
                                 }) >= 0;
                         });
 
                         restoredItem.storeMetadata = _.filter(restoredItem.storeMetadata,
function (metaId) {
-                            return _.findIndex($scope.metadatas, function (scopeMeta) {
+                            return _.findIndex(metadatas, function (scopeMeta) {
                                     return scopeMeta.value == metaId;
                                 }) >= 0;
                         });


Mime
View raw message