1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-10 19:38:11 +01:00

[PM-5189] Adjusting an implementation detail when collection page details

This commit is contained in:
Cesar Gonzalez 2024-05-22 07:40:43 -05:00
parent aeb3ee6af8
commit 5f811489c8
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF

View File

@ -1312,14 +1312,14 @@ class CollectAutofillContentService implements CollectAutofillContentServiceInte
continue;
}
const isViewable =
await this.domElementVisibilityService.isFormFieldViewable(formFieldElement);
if (!isViewable) {
const cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
if (!cachedAutofillFieldElement) {
continue;
}
const cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
if (!cachedAutofillFieldElement) {
const isViewable =
await this.domElementVisibilityService.isFormFieldViewable(formFieldElement);
if (!isViewable) {
continue;
}