From 52f4a9d9610c89a053cd8f412d6bdb39b679aaea Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sat, 7 Oct 2017 21:28:15 -0400 Subject: [PATCH] show all types in listing --- src/app/vault/vaultController.js | 6 ++---- src/app/vault/vaultSharedController.js | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) 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) {