Skip to content

Commit

Permalink
Edit UI fix the "Optional" in all the address fields (#262)
Browse files Browse the repository at this point in the history
* Edit UI  fix the "Optional" in all the address fields

* no message
  • Loading branch information
Lekshmi authored Apr 26, 2022
1 parent a511339 commit 0e01bc2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "business-edit-ui",
"version": "2.1.9",
"version": "2.1.10",
"private": true,
"appName": "Edit UI",
"sbcName": "SBC Common Components",
Expand Down
7 changes: 2 additions & 5 deletions src/components/common/PeopleAndRoles/OrgPerson.vue
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ export default class OrgPerson extends Mixins(CommonMixin) {
readonly CorpTypeCd = CorpTypeCd
readonly RoleTypes = RoleTypes
readonly PartyTypes = PartyTypes
private PersonAddressSchema = {}
private OfficeAddressSchema = {}
readonly PersonAddressSchema = PersonAddressSchema
readonly OfficeAddressSchema = OfficeAddressSchema
/** The current org/person to edit or add. */
@Prop() private currentOrgPerson!: OrgPersonIF
Expand Down Expand Up @@ -632,9 +632,6 @@ export default class OrgPerson extends Mixins(CommonMixin) {
this.confirmNameChangeRules = this.hasOrgPersonNameChanged(this.orgPerson)
? [(v: string) => !!v]
: []
this.PersonAddressSchema = PersonAddressSchema
this.OfficeAddressSchema = OfficeAddressSchema
}
/** Email validation method */
Expand Down

0 comments on commit 0e01bc2

Please sign in to comment.