mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
Implement personal item cloning capability (#1129)
* Initial pass of clone item * Updated npm sub:pull script to include target branches * Made requested changes * Formatting changes * Fixed lint warnings
This commit is contained in:
@@ -64,6 +64,16 @@ export class ViewComponent extends BaseViewComponent {
|
||||
this.router.navigate(['/edit-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
||||
}
|
||||
|
||||
clone() {
|
||||
super.clone();
|
||||
this.router.navigate(['/clone-cipher'], {
|
||||
queryParams: {
|
||||
cloneMode: true,
|
||||
cipherId: this.cipher.id,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
close() {
|
||||
this.location.back();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user