use shorter variables
This commit is contained in:
parent
fef2d38101
commit
1456f81e31
|
@ -61,10 +61,10 @@
|
||||||
$rootScope.vaultLogins = decLogins;
|
$rootScope.vaultLogins = decLogins;
|
||||||
|
|
||||||
// compute site count for each folder
|
// 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;
|
var siteCount = 0;
|
||||||
for (var j = 0; j < $rootScope.vaultLogins.length; j++) {
|
for (var j = 0; j < decLogins.length; j++) {
|
||||||
if ($rootScope.vaultLogins[j].folderId == $rootScope.vaultFolders[i].id) {
|
if (decLogins[j].folderId == decFolders[i].id) {
|
||||||
siteCount++;
|
siteCount++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue