1
0
mirror of https://github.com/bitwarden/desktop.git synced 2024-11-08 09:32:07 +01:00

use shorter variables

This commit is contained in:
Kyle Spearrin 2017-01-04 23:32:51 -05:00
parent fef2d38101
commit 1456f81e31

View File

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