mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-14 10:26:19 +01:00
do not do browser extension permission check if the Show autofill suggestions setting is being turned off (#11889)
This commit is contained in:
parent
faf7e3d315
commit
05a79d58bb
@ -219,7 +219,11 @@ export class AutofillComponent implements OnInit {
|
|||||||
: AutofillOverlayVisibility.Off;
|
: AutofillOverlayVisibility.Off;
|
||||||
|
|
||||||
await this.autofillSettingsService.setInlineMenuVisibility(newInlineMenuVisibilityValue);
|
await this.autofillSettingsService.setInlineMenuVisibility(newInlineMenuVisibilityValue);
|
||||||
await this.requestPrivacyPermission();
|
|
||||||
|
// No need to initiate browser permission request if a feature is being turned off
|
||||||
|
if (newInlineMenuVisibilityValue !== AutofillOverlayVisibility.Off) {
|
||||||
|
await this.requestPrivacyPermission();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
async updateAutofillOnPageLoad() {
|
async updateAutofillOnPageLoad() {
|
||||||
|
Loading…
Reference in New Issue
Block a user