Skip to content

Commit

Permalink
fix: mobileno is always editable
Browse files Browse the repository at this point in the history
  • Loading branch information
wanlingt committed Oct 25, 2023
1 parent 9bb08ac commit fd6d2b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/modules/sgid/sgid.adapter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,6 @@ export class SGIDMyInfoData
if (!data || !fieldValue) return false

switch (attr) {
case ExternalAttr.MobileNoWithCountryCode:
case ExternalAttr.RegisteredAddress:
case ExternalAttr.Name:
case ExternalAttr.PassportNumber:
Expand All @@ -216,6 +215,7 @@ export class SGIDMyInfoData
case ExternalAttr.Occupation:
return !!data
// Fields required to always be editable according to MyInfo docs
case ExternalAttr.MobileNoWithCountryCode:
case ExternalAttr.MaritalStatus:
case ExternalAttr.CountryOfMarriage:
case ExternalAttr.MarriageCertNo:
Expand Down

0 comments on commit fd6d2b6

Please sign in to comment.