mirror of
https://github.com/bitwarden/browser.git
synced 2024-10-04 05:08:06 +02:00
Added missing attachments conditional (#1145)
This commit is contained in:
parent
23acc1bfb3
commit
7d93ebe732
@ -251,7 +251,7 @@
|
|||||||
<input id="favorite" type="checkbox" name="Favorite" [(ngModel)]="cipher.favorite">
|
<input id="favorite" type="checkbox" name="Favorite" [(ngModel)]="cipher.favorite">
|
||||||
</div>
|
</div>
|
||||||
<a class="box-content-row box-content-row-flex text-default" href="#" appStopClick appBlurClick
|
<a class="box-content-row box-content-row-flex text-default" href="#" appStopClick appBlurClick
|
||||||
(click)="attachments()" *ngIf="editMode && showAttachments">
|
(click)="attachments()" *ngIf="editMode && showAttachments && !cloneMode">
|
||||||
<div class="row-main">{{'attachments' | i18n}}</div>
|
<div class="row-main">{{'attachments' | i18n}}</div>
|
||||||
<i class="fa fa-chevron-right row-sub-icon" aria-hidden="true"></i>
|
<i class="fa fa-chevron-right row-sub-icon" aria-hidden="true"></i>
|
||||||
</a>
|
</a>
|
||||||
|
@ -64,7 +64,7 @@ export class AddEditComponent extends BaseAddEditComponent {
|
|||||||
}
|
}
|
||||||
await this.load();
|
await this.load();
|
||||||
|
|
||||||
if (!this.editMode) {
|
if (!this.editMode || this.cloneMode) {
|
||||||
if (params.name && (this.cipher.name == null || this.cipher.name === '')) {
|
if (params.name && (this.cipher.name == null || this.cipher.name === '')) {
|
||||||
this.cipher.name = params.name;
|
this.cipher.name = params.name;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user