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

forward/back animations for nested cipher folders/cols

This commit is contained in:
Kyle Spearrin
2018-10-29 08:58:20 -04:00
parent 69e664a154
commit 0cdc343ce0
5 changed files with 20 additions and 25 deletions

View File

@@ -242,12 +242,12 @@ export class GroupingsComponent extends BaseGroupingsComponent implements OnInit
async selectFolder(folder: FolderView) {
super.selectFolder(folder);
this.router.navigate(['/ciphers'], { queryParams: { folderId: folder.id || 'none', direction: 'f' } });
this.router.navigate(['/ciphers'], { queryParams: { folderId: folder.id || 'none' } });
}
async selectCollection(collection: CollectionView) {
super.selectCollection(collection);
this.router.navigate(['/ciphers'], { queryParams: { collectionId: collection.id, direction: 'f' } });
this.router.navigate(['/ciphers'], { queryParams: { collectionId: collection.id } });
}
async selectCipher(cipher: CipherView) {