mirror of
https://github.com/bitwarden/browser
synced 2025-12-17 08:43:33 +00:00
[PM-5189] Adjusting an implementation detail when collection page details
This commit is contained in:
@@ -1312,14 +1312,14 @@ class CollectAutofillContentService implements CollectAutofillContentServiceInte
|
|||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const isViewable =
|
const cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
|
||||||
await this.domElementVisibilityService.isFormFieldViewable(formFieldElement);
|
if (!cachedAutofillFieldElement) {
|
||||||
if (!isViewable) {
|
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
const cachedAutofillFieldElement = this.autofillFieldElements.get(formFieldElement);
|
const isViewable =
|
||||||
if (!cachedAutofillFieldElement) {
|
await this.domElementVisibilityService.isFormFieldViewable(formFieldElement);
|
||||||
|
if (!isViewable) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user