1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-11 22:03:36 +00:00

[Linked Fields] Fix QA feedback (#542)

* Fix bug overwriting custom field types

* Add linkedId to export model for CLI
This commit is contained in:
Thomas Rittson
2021-11-12 05:59:01 +10:00
committed by GitHub
parent b99103d3f7
commit e02e663ce1
2 changed files with 6 additions and 1 deletions

View File

@@ -118,7 +118,7 @@ export class AddEditCustomFieldsComponent implements OnChanges {
}
this.cipher.fields
.filter(f => f.type = FieldType.Linked)
.filter(f => f.type === FieldType.Linked)
.forEach(f => f.linkedId = this.linkedFieldOptions[0].value);
}
}