1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-09-27 04:03:00 +02:00

added TODO to remove the feature flag on cleanup

This commit is contained in:
Andre Rosado 2024-06-14 12:49:01 +01:00
parent b1cb8a0dc6
commit bdf4c26899
No known key found for this signature in database
GPG Key ID: 99F68267CCD45AA9
2 changed files with 2 additions and 0 deletions

View File

@ -24,6 +24,7 @@ export class IsEnterpriseOrgGuard implements CanActivate {
this.configService.getFeatureFlag$(FeatureFlag.MemberAccessReport),
);
// TODO: Remove on "MemberAccessReport" feature flag cleanup
if (!isMemberAccessReportEnabled) {
return this.router.createUrlTree(["/"]);
}

View File

@ -27,6 +27,7 @@ export class ReportsHomeComponent implements OnInit {
) {}
async ngOnInit() {
// TODO: Remove on "MemberAccessReport" feature flag cleanup
this.isMemberAccessReportEnabled = await firstValueFrom(
this.configService.getFeatureFlag$(FeatureFlag.MemberAccessReport),
);