share adjustments
This commit is contained in:
parent
80e71d4923
commit
aab709dd0b
|
@ -551,6 +551,9 @@
|
||||||
"shareItem": {
|
"shareItem": {
|
||||||
"message": "Share Item"
|
"message": "Share Item"
|
||||||
},
|
},
|
||||||
|
"share": {
|
||||||
|
"message": "Share"
|
||||||
|
},
|
||||||
"sharedItem": {
|
"sharedItem": {
|
||||||
"message": "Shared Item"
|
"message": "Shared Item"
|
||||||
},
|
},
|
||||||
|
|
|
@ -86,12 +86,14 @@ export class AddEditComponent extends BaseAddEditComponent {
|
||||||
}
|
}
|
||||||
|
|
||||||
share() {
|
share() {
|
||||||
|
super.share();
|
||||||
if (this.cipher.organizationId == null) {
|
if (this.cipher.organizationId == null) {
|
||||||
this.router.navigate(['/share-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
this.router.navigate(['/share-cipher'], { queryParams: { cipherId: this.cipher.id } });
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
editCollections() {
|
editCollections() {
|
||||||
|
super.editCollections();
|
||||||
if (this.cipher.organizationId != null) {
|
if (this.cipher.organizationId != null) {
|
||||||
this.router.navigate(['/collections'], { queryParams: { cipherId: this.cipher.id } });
|
this.router.navigate(['/collections'], { queryParams: { cipherId: this.cipher.id } });
|
||||||
}
|
}
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
<button type="button" appBlurClick (click)="cancel()">{{'cancel' | i18n}}</button>
|
<button type="button" appBlurClick (click)="cancel()">{{'cancel' | i18n}}</button>
|
||||||
</div>
|
</div>
|
||||||
<div class="center">
|
<div class="center">
|
||||||
<span class="title">{{'shareItem' | i18n}}</span>
|
<span class="title">{{'share' | i18n}}</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
<button type="submit" appBlurClick [disabled]="form.loading || !canSave"
|
<button type="submit" appBlurClick [disabled]="form.loading || !canSave"
|
||||||
|
|
Loading…
Reference in New Issue