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:
parent
8fda52ef7e
commit
adf3837243
@ -20,7 +20,7 @@ export class InlineMenuFieldQualificationService
|
||||
private useBasicInlineMenuFieldQualificationFlagSet = false;
|
||||
|
||||
constructor() {
|
||||
void sendExtensionMessage("getUseTreeWalkerApiForPageDetailsCollectionFeatureFlag").then(
|
||||
void sendExtensionMessage("getUseBasicInlineMenuFieldQualificationFeatureFlag").then(
|
||||
(getUseBasicInlineMenuFieldQualificationFlag) =>
|
||||
(this.useBasicInlineMenuFieldQualificationFlagSet =
|
||||
!!getUseBasicInlineMenuFieldQualificationFlag?.result),
|
||||
|
@ -69,6 +69,7 @@ export default class RuntimeBackground {
|
||||
const messagesWithResponse = [
|
||||
"biometricUnlock",
|
||||
"getUseTreeWalkerApiForPageDetailsCollectionFeatureFlag",
|
||||
"getUseBasicInlineMenuFieldQualificationFeatureFlag",
|
||||
];
|
||||
|
||||
if (messagesWithResponse.includes(msg.command)) {
|
||||
|
Loading…
Reference in New Issue
Block a user