From d823e3ac5eb822d7364236a2434258cc10c223f9 Mon Sep 17 00:00:00 2001 From: Bright Date: Thu, 17 Apr 2025 17:46:36 +0700 Subject: [PATCH] =?UTF-8?q?fix=20=E0=B8=A3=E0=B8=B0=E0=B8=9A=E0=B8=9A?= =?UTF-8?q?=E0=B8=97=E0=B8=B0=E0=B9=80=E0=B8=9A=E0=B8=B5=E0=B8=A2=E0=B8=99?= =?UTF-8?q?=E0=B8=9B=E0=B8=A3=E0=B8=B0=E0=B8=A7=E0=B8=B1=E0=B8=95=E0=B8=B4?= =?UTF-8?q?=E0=B8=9C=E0=B8=B9=E0=B9=89=E0=B8=9E=E0=B9=89=E0=B8=99=E0=B8=88?= =?UTF-8?q?=E0=B8=B2=E0=B8=81=E0=B8=A3=E0=B8=B2=E0=B8=8A=E0=B8=81=E0=B8=B2?= =?UTF-8?q?=E0=B8=A3=20=E0=B8=82=E0=B8=A3=E0=B8=81.=20>>=E0=B8=94=E0=B8=B2?= =?UTF-8?q?=E0=B8=A7=E0=B8=99=E0=B9=8C=E0=B9=82=E0=B8=AB=E0=B8=A5=E0=B8=94?= =?UTF-8?q?=E0=B9=80=E0=B8=AD=E0=B8=81=E0=B8=AA=E0=B8=B2=E0=B8=A3=20?= =?UTF-8?q?=E0=B8=81=E0=B8=9E.7/=E0=B8=81=E0=B8=81.1=20=E0=B8=A3=E0=B8=B0?= =?UTF-8?q?=E0=B8=9A=E0=B8=9A=E0=B9=81=E0=B8=AA=E0=B8=94=E0=B8=87=20Error?= =?UTF-8?q?=20#1400?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/controllers/ProfileController.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/controllers/ProfileController.ts b/src/controllers/ProfileController.ts index 3b8adf81..b1264e94 100644 --- a/src/controllers/ProfileController.ts +++ b/src/controllers/ProfileController.ts @@ -1615,7 +1615,7 @@ export class ProfileController extends Controller { ).toLocaleString(), ) : ""; - const fullCurrentAddress = profiles + const fullCurrentAddress = profiles && profiles.currentAddress ? Extension.ToThaiNumber( profiles.currentAddress + " ตำบล/แขวง " + @@ -1627,7 +1627,7 @@ export class ProfileController extends Controller { profiles.currentZipCode, ) : ""; - const fullRegistrationAddress = profiles + const fullRegistrationAddress = profiles && profiles.registrationAddress ? Extension.ToThaiNumber( profiles.registrationAddress + " ตำบล/แขวง " +