1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-10-31 08:20:37 +01:00

show all types in listing

This commit is contained in:
Kyle Spearrin 2017-10-07 21:28:15 -04:00
parent ca0fb6d66a
commit 52f4a9d961
2 changed files with 4 additions and 8 deletions

View File

@ -42,11 +42,9 @@
var decCiphers = [];
for (var i = 0; i < ciphers.Data.length; i++) {
if (ciphers.Data[i].Type === 1) {
var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]);
decCiphers.push(decCipher);
}
}
folderPromise.then(function () {
loadCipherData(decCiphers);

View File

@ -25,11 +25,9 @@
var decCiphers = [];
for (var i = 0; i < ciphers.Data.length; i++) {
if (ciphers.Data[i].Type === 1) {
var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]);
decCiphers.push(decCipher);
}
}
if (decCiphers.length) {
$scope.collections.push({