1
0
mirror of https://github.com/bitwarden/browser.git synced 2025-01-24 21:41:33 +01:00

[PM-8027] Incorporating a feature flag to allow us to fallback to the basic inline menu fielld qualification method if needed

This commit is contained in:
Cesar Gonzalez 2024-06-07 07:46:15 -05:00
parent 8fda52ef7e
commit adf3837243
No known key found for this signature in database
GPG Key ID: 3381A5457F8CCECF
2 changed files with 2 additions and 1 deletions

View File

@ -20,7 +20,7 @@ export class InlineMenuFieldQualificationService
private useBasicInlineMenuFieldQualificationFlagSet = false;
constructor() {
void sendExtensionMessage("getUseTreeWalkerApiForPageDetailsCollectionFeatureFlag").then(
void sendExtensionMessage("getUseBasicInlineMenuFieldQualificationFeatureFlag").then(
(getUseBasicInlineMenuFieldQualificationFlag) =>
(this.useBasicInlineMenuFieldQualificationFlagSet =
!!getUseBasicInlineMenuFieldQualificationFlag?.result),

View File

@ -69,6 +69,7 @@ export default class RuntimeBackground {
const messagesWithResponse = [
"biometricUnlock",
"getUseTreeWalkerApiForPageDetailsCollectionFeatureFlag",
"getUseBasicInlineMenuFieldQualificationFeatureFlag",
];
if (messagesWithResponse.includes(msg.command)) {