mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-03 23:21:29 +01:00
[PM-5189] Adjusting an implementation detail when collection page details
This commit is contained in:
parent
aeb3ee6af8
commit
5f811489c8
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user