share adjustments
This commit is contained in:
parent
80e71d4923
commit
aab709dd0b
|
@ -551,6 +551,9 @@
|
|||
"shareItem": {
|
||||
"message": "Share Item"
|
||||
},
|
||||
"share": {
|
||||
"message": "Share"
|
||||
},
|
||||
"sharedItem": {
|
||||
"message": "Shared Item"
|
||||
},
|
||||
|
|
|
@ -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 } });
|
||||
}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<button type="button" appBlurClick (click)="cancel()">{{'cancel' | i18n}}</button>
|
||||
</div>
|
||||
<div class="center">
|
||||
<span class="title">{{'shareItem' | i18n}}</span>
|
||||
<span class="title">{{'share' | i18n}}</span>
|
||||
</div>
|
||||
<div class="right">
|
||||
<button type="submit" appBlurClick [disabled]="form.loading || !canSave"
|
||||
|
|
Loading…
Reference in New Issue