mirror of
https://github.com/bitwarden/browser
synced 2026-02-23 16:13:21 +00:00
Merge remote-tracking branch 'origin/main' into playwright
This commit is contained in:
@@ -70,6 +70,7 @@ describe("DefaultGeneratorNavigationService", () => {
|
||||
enabled: true,
|
||||
type: PolicyType.PasswordGenerator,
|
||||
data: { overridePasswordType: "password" },
|
||||
revisionDate: new Date().toISOString(),
|
||||
}),
|
||||
]);
|
||||
},
|
||||
|
||||
@@ -8,9 +8,10 @@ import { GeneratorNavigationPolicy } from "./generator-navigation-policy";
|
||||
|
||||
/** Enforces policy for generator navigation options.
|
||||
*/
|
||||
export class GeneratorNavigationEvaluator
|
||||
implements PolicyEvaluator<GeneratorNavigationPolicy, GeneratorNavigation>
|
||||
{
|
||||
export class GeneratorNavigationEvaluator implements PolicyEvaluator<
|
||||
GeneratorNavigationPolicy,
|
||||
GeneratorNavigation
|
||||
> {
|
||||
/** Instantiates the evaluator.
|
||||
* @param policy The policy applied by the evaluator. When this conflicts with
|
||||
* the defaults, the policy takes precedence.
|
||||
|
||||
@@ -17,6 +17,7 @@ function createPolicy(
|
||||
data,
|
||||
enabled,
|
||||
type,
|
||||
revisionDate: new Date().toISOString(),
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user