mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-06 09:20:43 +01:00
comment out TODO code
This commit is contained in:
parent
063bb010db
commit
20389402fc
@ -196,12 +196,13 @@ export class CipherService implements CipherServiceAbstraction {
|
||||
const ciphers = result[1];
|
||||
|
||||
return ciphers.filter((cipher) => {
|
||||
if (domain && cipher.type === CipherType.Login && cipher.login.domain &&
|
||||
matchingDomains.indexOf(cipher.login.domain) > -1) {
|
||||
return true;
|
||||
} else if (includeOtherTypes && includeOtherTypes.indexOf(cipher.type) > -1) {
|
||||
return true;
|
||||
}
|
||||
// TODO: uris
|
||||
//if (domain && cipher.type === CipherType.Login && cipher.login.domain &&
|
||||
// matchingDomains.indexOf(cipher.login.domain) > -1) {
|
||||
// return true;
|
||||
//} else if (includeOtherTypes && includeOtherTypes.indexOf(cipher.type) > -1) {
|
||||
// return true;
|
||||
//}
|
||||
|
||||
return false;
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user