fix: thai address text spacing
This commit is contained in:
parent
9667c39040
commit
de97a348e7
1 changed files with 2 additions and 2 deletions
|
|
@ -31,8 +31,8 @@ export function formatAddress(opt: {
|
|||
// th
|
||||
addressParts = [`${opt.address},`];
|
||||
if (opt.moo) addressParts.push(`หมู่ ${opt.moo},`);
|
||||
if (opt.soi) addressParts.push(`ซอย ${opt.soi},`);
|
||||
if (opt.street) addressParts.push(`ถนน ${opt.street},`);
|
||||
if (opt.soi) addressParts.push(`ซอย${opt.soi},`);
|
||||
if (opt.street) addressParts.push(`ถนน${opt.street},`);
|
||||
|
||||
addressParts.push(
|
||||
`${opt.province.id === '10' ? 'แขวง' : 'ตำบล'}${opt.subDistrict.name},`,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue