mirror of
https://github.com/bitwarden/browser
synced 2025-12-15 15:53:27 +00:00
Added missing attachments conditional (#1145)
This commit is contained in:
@@ -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>
|
||||||
@@ -376,4 +376,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</content>
|
</content>
|
||||||
</form>
|
</form>
|
||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user