mirror of
https://github.com/bitwarden/browser.git
synced 2024-11-27 12:36:14 +01:00
Fixed lint warning (#63)
This commit is contained in:
parent
3a40cb83bf
commit
bb459ce4b4
@ -164,7 +164,7 @@ export class AddEditComponent implements OnInit {
|
|||||||
if (this.cloneMode) {
|
if (this.cloneMode) {
|
||||||
this.cloneMode = true;
|
this.cloneMode = true;
|
||||||
this.title = this.i18nService.t('addItem');
|
this.title = this.i18nService.t('addItem');
|
||||||
} else{
|
} else {
|
||||||
this.title = this.i18nService.t('editItem');
|
this.title = this.i18nService.t('editItem');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
@ -185,7 +185,7 @@ export class AddEditComponent implements OnInit {
|
|||||||
|
|
||||||
// Adjust Cipher Name if Cloning
|
// Adjust Cipher Name if Cloning
|
||||||
if (this.cloneMode) {
|
if (this.cloneMode) {
|
||||||
this.cipher.name += " - " + this.i18nService.t('clone');
|
this.cipher.name += ' - ' + this.i18nService.t('clone');
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
this.cipher = new CipherView();
|
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[0].uri == null || this.cipher.login.uris[0].uri === '')) {
|
||||||
this.cipher.login.uris = null;
|
this.cipher.login.uris = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Allows saving of selected collections during "Add" and "Clone" flows
|
// Allows saving of selected collections during "Add" and "Clone" flows
|
||||||
if ((!this.editMode || this.cloneMode) && this.cipher.organizationId != null) {
|
if ((!this.editMode || this.cloneMode) && this.cipher.organizationId != null) {
|
||||||
this.cipher.collectionIds = this.collections == null ? [] :
|
this.cipher.collectionIds = this.collections == null ? [] :
|
||||||
|
Loading…
Reference in New Issue
Block a user