From fd6d2b669e118b6b889d2580c1940352d91ce459 Mon Sep 17 00:00:00 2001 From: wanlingt Date: Wed, 25 Oct 2023 18:17:51 +0800 Subject: [PATCH] fix: mobileno is always editable --- src/app/modules/sgid/sgid.adapter.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/modules/sgid/sgid.adapter.ts b/src/app/modules/sgid/sgid.adapter.ts index ebe3d73710..332d6fae7f 100644 --- a/src/app/modules/sgid/sgid.adapter.ts +++ b/src/app/modules/sgid/sgid.adapter.ts @@ -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: @@ -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: