1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

undo change routing

This commit is contained in:
jaasen-livefront
2024-07-08 15:43:28 -07:00
parent e33eef3a9f
commit 7ef33f6834

View File

@@ -3,7 +3,7 @@ import { RouterModule, Routes } from "@angular/router";
import { AuthGuard } from "@bitwarden/angular/auth/guards"; import { AuthGuard } from "@bitwarden/angular/auth/guards";
// import { hasPremiumGuard } from "../../core/guards/has-premium.guard"; import { hasPremiumGuard } from "../../core/guards/has-premium.guard";
import { BreachReportComponent } from "./pages/breach-report.component"; import { BreachReportComponent } from "./pages/breach-report.component";
import { ExposedPasswordsReportComponent } from "./pages/exposed-passwords-report.component"; import { ExposedPasswordsReportComponent } from "./pages/exposed-passwords-report.component";
@@ -35,31 +35,31 @@ const routes: Routes = [
path: "reused-passwords-report", path: "reused-passwords-report",
component: ReusedPasswordsReportComponent, component: ReusedPasswordsReportComponent,
data: { titleId: "reusedPasswordsReport" }, data: { titleId: "reusedPasswordsReport" },
// canActivate: [hasPremiumGuard()], canActivate: [hasPremiumGuard()],
}, },
{ {
path: "unsecured-websites-report", path: "unsecured-websites-report",
component: UnsecuredWebsitesReportComponent, component: UnsecuredWebsitesReportComponent,
data: { titleId: "unsecuredWebsitesReport" }, data: { titleId: "unsecuredWebsitesReport" },
// canActivate: [hasPremiumGuard()], canActivate: [hasPremiumGuard()],
}, },
{ {
path: "weak-passwords-report", path: "weak-passwords-report",
component: WeakPasswordsReportComponent, component: WeakPasswordsReportComponent,
data: { titleId: "weakPasswordsReport" }, data: { titleId: "weakPasswordsReport" },
// canActivate: [hasPremiumGuard()], canActivate: [hasPremiumGuard()],
}, },
{ {
path: "exposed-passwords-report", path: "exposed-passwords-report",
component: ExposedPasswordsReportComponent, component: ExposedPasswordsReportComponent,
data: { titleId: "exposedPasswordsReport" }, data: { titleId: "exposedPasswordsReport" },
// canActivate: [hasPremiumGuard()], canActivate: [hasPremiumGuard()],
}, },
{ {
path: "inactive-two-factor-report", path: "inactive-two-factor-report",
component: InactiveTwoFactorReportComponent, component: InactiveTwoFactorReportComponent,
data: { titleId: "inactive2faReport" }, data: { titleId: "inactive2faReport" },
// canActivate: [hasPremiumGuard()], canActivate: [hasPremiumGuard()],
}, },
], ],
}, },