mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 00:03:56 +00:00
dont throw error on none found
This commit is contained in:
@@ -206,14 +206,13 @@ export default class AutofillService {
|
||||
return;
|
||||
}
|
||||
|
||||
const cipher = await this.cipherService.getLastUsedForDomain(tabDomain);
|
||||
if (!cipher) {
|
||||
const lastUsedCipher = await this.cipherService.getLastUsedForDomain(tabDomain);
|
||||
if (!lastUsedCipher) {
|
||||
return;
|
||||
}
|
||||
|
||||
await this.doAutoFill({
|
||||
// tslint:disable-next-line
|
||||
cipher: cipher,
|
||||
cipher: lastUsedCipher,
|
||||
// tslint:disable-next-line
|
||||
pageDetails: pageDetails,
|
||||
fromBackground: true,
|
||||
|
||||
Reference in New Issue
Block a user