diff --git a/src/app/vault/vaultController.js b/src/app/vault/vaultController.js index 06135fdfe9..6e29e31d6f 100644 --- a/src/app/vault/vaultController.js +++ b/src/app/vault/vaultController.js @@ -42,10 +42,8 @@ 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); - } + var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]); + decCiphers.push(decCipher); } folderPromise.then(function () { diff --git a/src/app/vault/vaultSharedController.js b/src/app/vault/vaultSharedController.js index 09bd4d9e02..8bfc55c033 100644 --- a/src/app/vault/vaultSharedController.js +++ b/src/app/vault/vaultSharedController.js @@ -25,10 +25,8 @@ 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); - } + var decCipher = cipherService.decryptCipherPreview(ciphers.Data[i]); + decCiphers.push(decCipher); } if (decCiphers.length) {