keycloak-memoizeit

Details

diff --git a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
index 8e9573d..cae978b 100755
--- a/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
+++ b/forms/common-themes/src/main/resources/theme/admin/base/resources/js/controllers/realm.js
@@ -852,8 +852,6 @@ module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmA
     $scope.realm = realm;
     $scope.stats = stats;
 
-    console.log(stats);
-
     $scope.logoutAll = function() {
         RealmLogoutAll.save({realm : realm.realm}, function (globalReqResult) {
             var successCount = globalReqResult.successRequests ? globalReqResult.successRequests.length : 0;
@@ -863,16 +861,10 @@ module.controller('RealmSessionStatsCtrl', function($scope, realm, stats, RealmA
                 var msgStart = successCount>0 ? 'Successfully logout all users under: ' + globalReqResult.successRequests + ' . ' : '';
                 Notifications.error(msgStart + 'Failed to logout users under: ' + globalReqResult.failedRequests + '. Verify availability of failed hosts and try again');
             } else {
-                Notifications.success('Successfully logout all users from the realm');
+                window.location.reload();
             }
-
-            RealmApplicationSessionStats.query({realm: realm.realm}, function(updated) {
-                $scope.stats = updated;
-            })
         });
     };
-
-
 });