1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-13 06:43:35 +00:00

allow reloading of current tab

This commit is contained in:
Kyle Spearrin
2019-08-19 09:17:40 -04:00
parent aa0bfd3b45
commit 05684b3b03
2 changed files with 16 additions and 8 deletions

View File

@@ -219,6 +219,7 @@ const routes: Routes = [
component: CurrentTabComponent,
canActivate: [AuthGuardService],
data: { state: 'tabs_current' },
runGuardsAndResolvers: 'always',
},
{
path: 'vault',
@@ -265,6 +266,7 @@ export class NoRouteReuseStrategy implements RouteReuseStrategy {
@NgModule({
imports: [RouterModule.forRoot(routes, {
useHash: true,
onSameUrlNavigation: 'reload',
/*enableTracing: true,*/
})],
exports: [RouterModule],