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:
parent
ca0fb6d66a
commit
52f4a9d961
@ -42,11 +42,9 @@
|
|||||||
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 () {
|
||||||
loadCipherData(decCiphers);
|
loadCipherData(decCiphers);
|
||||||
|
@ -25,11 +25,9 @@
|
|||||||
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) {
|
||||||
$scope.collections.push({
|
$scope.collections.push({
|
||||||
|
Loading…
Reference in New Issue
Block a user