mirror of
https://github.com/bitwarden/browser
synced 2025-12-12 22:33:35 +00:00
Fix loss of cipher data when using pass generator
This commit is contained in:
@@ -8,6 +8,7 @@ import {
|
||||
|
||||
import { AuthGuardService } from 'jslib-angular/services/auth-guard.service';
|
||||
|
||||
import { DebounceNavigationService } from './services/debounceNavigationService';
|
||||
import { LaunchGuardService } from './services/launch-guard.service';
|
||||
import { LockGuardService } from './services/lock-guard.service';
|
||||
|
||||
@@ -142,14 +143,16 @@ const routes: Routes = [
|
||||
{
|
||||
path: 'add-cipher',
|
||||
component: AddEditComponent,
|
||||
canActivate: [AuthGuardService],
|
||||
canActivate: [AuthGuardService, DebounceNavigationService],
|
||||
data: { state: 'add-cipher' },
|
||||
runGuardsAndResolvers: 'always',
|
||||
},
|
||||
{
|
||||
path: 'edit-cipher',
|
||||
component: AddEditComponent,
|
||||
canActivate: [AuthGuardService],
|
||||
canActivate: [AuthGuardService, DebounceNavigationService],
|
||||
data: { state: 'edit-cipher' },
|
||||
runGuardsAndResolvers: 'always',
|
||||
},
|
||||
{
|
||||
path: 'share-cipher',
|
||||
|
||||
Reference in New Issue
Block a user