1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-08-31 00:01:03 +02:00

loading ciphers false after first chunk

This commit is contained in:
Kyle Spearrin 2018-03-19 11:33:52 -04:00
parent 7a50c0536c
commit 39471d0421

View File

@ -82,9 +82,8 @@
function loadCipherData(decCiphers) {
$rootScope.vaultCiphers = $scope.ciphers = $filter('orderBy')(decCiphers, ['sort', 'name', 'subTitle']);
$scope.loadingCiphers = false;
var chunks = chunk($rootScope.vaultCiphers, 400);
var chunks = chunk($rootScope.vaultCiphers, 200);
if (chunks.length > 0) {
$scope.ciphers = chunks[0];
var delay = 200;
@ -99,6 +98,8 @@
}
});
}
$scope.loadingCiphers = false;
}
function sortScopedCipherData() {