use shorter variables

This commit is contained in:
Kyle Spearrin 2017-01-04 23:32:51 -05:00
parent fef2d38101
commit 1456f81e31
1 changed files with 3 additions and 3 deletions

View File

@ -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++;
}
}