mirror of
https://github.com/bitwarden/browser
synced 2025-12-16 08:13:42 +00:00
make sure it has not been already shared
This commit is contained in:
@@ -86,7 +86,9 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||
}
|
||||
|
||||
share() {
|
||||
this.router.navigate(['/share-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
||||
if (this.cipher.organizationId == null) {
|
||||
this.router.navigate(['/share-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
||||
}
|
||||
}
|
||||
|
||||
cancel() {
|
||||
|
||||
Reference in New Issue
Block a user