Fixed lint warning (#63)

This commit is contained in:
Vincent Salucci 2020-02-04 15:07:31 -06:00 committed by GitHub
parent 3a40cb83bf
commit bb459ce4b4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -164,7 +164,7 @@ export class AddEditComponent implements OnInit {
if (this.cloneMode) {
this.cloneMode = true;
this.title = this.i18nService.t('addItem');
} else{
} else {
this.title = this.i18nService.t('editItem');
}
} else {
@ -185,7 +185,7 @@ export class AddEditComponent implements OnInit {
// Adjust Cipher Name if Cloning
if (this.cloneMode) {
this.cipher.name += " - " + this.i18nService.t('clone');
this.cipher.name += ' - ' + this.i18nService.t('clone');
}
} else {
this.cipher = new CipherView();
@ -232,7 +232,7 @@ export class AddEditComponent implements OnInit {
(this.cipher.login.uris[0].uri == null || this.cipher.login.uris[0].uri === '')) {
this.cipher.login.uris = null;
}
// Allows saving of selected collections during "Add" and "Clone" flows
if ((!this.editMode || this.cloneMode) && this.cipher.organizationId != null) {
this.cipher.collectionIds = this.collections == null ? [] :