mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
* rename acess intelligence to risk insights * keep branch name * replace all instances of AccessIntelligence. strip raw data + members to just the table * revert change to feature flag name
25 lines
667 B
TypeScript
25 lines
667 B
TypeScript
import { NgModule } from "@angular/core";
|
|
import { RouterModule, Routes } from "@angular/router";
|
|
|
|
import { canAccessFeature } from "@bitwarden/angular/platform/guard/feature-flag.guard";
|
|
import { FeatureFlag } from "@bitwarden/common/enums/feature-flag.enum";
|
|
|
|
import { RiskInsightsComponent } from "./risk-insights.component";
|
|
|
|
const routes: Routes = [
|
|
{
|
|
path: "",
|
|
component: RiskInsightsComponent,
|
|
canActivate: [canAccessFeature(FeatureFlag.AccessIntelligence)],
|
|
data: {
|
|
titleId: "RiskInsights",
|
|
},
|
|
},
|
|
];
|
|
|
|
@NgModule({
|
|
imports: [RouterModule.forChild(routes)],
|
|
exports: [RouterModule],
|
|
})
|
|
export class RiskInsightsRoutingModule {}
|