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:
parent
b1cb8a0dc6
commit
bdf4c26899
@ -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(["/"]);
|
||||
}
|
||||
|
@ -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),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user