[PM-12426] Autofill Inline Menu Settings Not Properly Referenced in Self-Hosted Environments (#11246)

This commit is contained in:
Cesar Gonzalez 2024-09-27 18:13:53 -05:00 committed by GitHub
parent 08e9a69083
commit 09e3468c69
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 1 deletions

View File

@ -237,7 +237,9 @@ export default class AutofillService implements AutofillServiceInterface {
FeatureFlag.InlineMenuPositioningImprovements,
);
if (!inlineMenuPositioningImprovements) {
return "bootstrap-legacy-autofill-overlay.js";
return !inlineMenuVisibility
? "bootstrap-autofill.js"
: "bootstrap-legacy-autofill-overlay.js";
}
const enableChangedPasswordPrompt = await firstValueFrom(