mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
PM-15091 Remove client side featureflag.AccessIntelligence and use DB feature flag (#12247)
* PM-15091 remove featureflag.AccessIntelligence * removed unwanted lines of code * fixed merge conflict
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<org-switcher [filter]="orgFilter" [hideNewButton]="hideNewOrgButton$ | async"></org-switcher>
|
||||
<bit-nav-group
|
||||
icon="bwi-filter"
|
||||
*ngIf="isAccessIntelligenceFeatureEnabled"
|
||||
*ngIf="organization.useRiskInsights"
|
||||
[text]="'accessIntelligence' | i18n"
|
||||
>
|
||||
<bit-nav-item
|
||||
|
||||
@@ -70,10 +70,6 @@ export class OrganizationLayoutComponent implements OnInit {
|
||||
async ngOnInit() {
|
||||
document.body.classList.remove("layout_frontend");
|
||||
|
||||
this.isAccessIntelligenceFeatureEnabled = await this.configService.getFeatureFlag(
|
||||
FeatureFlag.AccessIntelligence,
|
||||
);
|
||||
|
||||
this.organization$ = this.route.params.pipe(
|
||||
map((p) => p.organizationId),
|
||||
switchMap((id) => this.organizationService.organizations$.pipe(getById(id))),
|
||||
|
||||
Reference in New Issue
Block a user