1
0
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:
Kyle Spearrin 2018-03-02 08:15:31 -05:00
parent 063bb010db
commit 20389402fc

View File

@ -196,12 +196,13 @@ export class CipherService implements CipherServiceAbstraction {
const ciphers = result[1]; const ciphers = result[1];
return ciphers.filter((cipher) => { return ciphers.filter((cipher) => {
if (domain && cipher.type === CipherType.Login && cipher.login.domain && // TODO: uris
matchingDomains.indexOf(cipher.login.domain) > -1) { //if (domain && cipher.type === CipherType.Login && cipher.login.domain &&
return true; // matchingDomains.indexOf(cipher.login.domain) > -1) {
} else if (includeOtherTypes && includeOtherTypes.indexOf(cipher.type) > -1) { // return true;
return true; //} else if (includeOtherTypes && includeOtherTypes.indexOf(cipher.type) > -1) {
} // return true;
//}
return false; return false;
}); });