1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 00:03:56 +00:00

Added missing attachments conditional (#1145)

This commit is contained in:
Vincent Salucci
2020-02-19 14:00:37 -06:00
committed by GitHub
parent 23acc1bfb3
commit 7d93ebe732
2 changed files with 3 additions and 3 deletions

View File

@@ -64,7 +64,7 @@ export class AddEditComponent extends BaseAddEditComponent {
}
await this.load();
if (!this.editMode) {
if (!this.editMode || this.cloneMode) {
if (params.name && (this.cipher.name == null || this.cipher.name === '')) {
this.cipher.name = params.name;
}