mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 07:43:35 +00:00
[PS] fix broken local Storybook (#9075)
* add disableRoutesGraph to compdocArgs * fix popup-layout story routes
This commit is contained in:
@@ -315,13 +315,13 @@ export default {
|
||||
importProvidersFrom(
|
||||
RouterModule.forRoot(
|
||||
[
|
||||
{ path: "", redirectTo: "vault", pathMatch: "full" },
|
||||
{ path: "vault", component: MockVaultPageComponent },
|
||||
{ path: "generator", component: MockGeneratorPageComponent },
|
||||
{ path: "send", component: MockSendPageComponent },
|
||||
{ path: "settings", component: MockSettingsPageComponent },
|
||||
{ path: "", redirectTo: "tabs/vault", pathMatch: "full" },
|
||||
{ path: "tabs/vault", component: MockVaultPageComponent },
|
||||
{ path: "tabs/generator", component: MockGeneratorPageComponent },
|
||||
{ path: "tabs/send", component: MockSendPageComponent },
|
||||
{ path: "tabs/settings", component: MockSettingsPageComponent },
|
||||
// in case you are coming from a story that also uses the router
|
||||
{ path: "**", redirectTo: "vault" },
|
||||
{ path: "**", redirectTo: "tabs/vault" },
|
||||
],
|
||||
{ useHash: true },
|
||||
),
|
||||
|
||||
Reference in New Issue
Block a user