mirror of
https://github.com/bitwarden/browser.git
synced 2024-12-27 17:18:04 +01:00
use shorter variables
This commit is contained in:
parent
fef2d38101
commit
1456f81e31
@ -61,10 +61,10 @@
|
||||
$rootScope.vaultLogins = decLogins;
|
||||
|
||||
// compute site count for each folder
|
||||
for (var i = 0; i < $rootScope.vaultFolders.length; i++) {
|
||||
for (var i = 0; i < decFolders.length; i++) {
|
||||
var siteCount = 0;
|
||||
for (var j = 0; j < $rootScope.vaultLogins.length; j++) {
|
||||
if ($rootScope.vaultLogins[j].folderId == $rootScope.vaultFolders[i].id) {
|
||||
for (var j = 0; j < decLogins.length; j++) {
|
||||
if (decLogins[j].folderId == decFolders[i].id) {
|
||||
siteCount++;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user