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:
parent
7a50c0536c
commit
39471d0421
|
@ -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() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user