mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Replace cipher results with filtered results (#301)
This commit is contained in:
parent
80f34d5de5
commit
1ed637e123
@ -133,9 +133,9 @@ export class GetCommand extends DownloadCommand {
|
||||
}
|
||||
if (Array.isArray(decCipher)) {
|
||||
if (filter != null) {
|
||||
const filteredCiphers = decCipher.filter(filter);
|
||||
if (filteredCiphers.length === 1) {
|
||||
decCipher = filteredCiphers[0];
|
||||
decCipher = decCipher.filter(filter);
|
||||
if (decCipher.length === 1) {
|
||||
decCipher = decCipher[0];
|
||||
}
|
||||
}
|
||||
if (Array.isArray(decCipher)) {
|
||||
|
Loading…
Reference in New Issue
Block a user