mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
loading ciphers false after first chunk
This commit is contained in:
@@ -82,9 +82,8 @@
|
|||||||
|
|
||||||
function loadCipherData(decCiphers) {
|
function loadCipherData(decCiphers) {
|
||||||
$rootScope.vaultCiphers = $scope.ciphers = $filter('orderBy')(decCiphers, ['sort', 'name', 'subTitle']);
|
$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) {
|
if (chunks.length > 0) {
|
||||||
$scope.ciphers = chunks[0];
|
$scope.ciphers = chunks[0];
|
||||||
var delay = 200;
|
var delay = 200;
|
||||||
@@ -99,6 +98,8 @@
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$scope.loadingCiphers = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
function sortScopedCipherData() {
|
function sortScopedCipherData() {
|
||||||
|
|||||||
Reference in New Issue
Block a user