mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
share adjustments
This commit is contained in:
@@ -86,12 +86,14 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||
}
|
||||
|
||||
share() {
|
||||
super.share();
|
||||
if (this.cipher.organizationId == null) {
|
||||
this.router.navigate(['/share-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
||||
}
|
||||
}
|
||||
|
||||
editCollections() {
|
||||
super.editCollections();
|
||||
if (this.cipher.organizationId != null) {
|
||||
this.router.navigate(['/collections'], { queryParams: { cipherId: this.cipher.id } });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user