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,10 +42,8 @@
var decCiphers = []; var decCiphers = [];
for (var i = 0; i < ciphers.Data.length; i++) { for (var i = 0; i < ciphers.Data.length; i++) {
if (ciphers.Data[i].Type === 1) { var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]);
var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]); decCiphers.push(decCipher);
decCiphers.push(decCipher);
}
} }
folderPromise.then(function () { folderPromise.then(function () {

View File

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