fix: แก้ เอาเบอร์ติดต่อมาแสดง
This commit is contained in:
parent
550ded4f63
commit
1702ec93d7
1 changed files with 2 additions and 2 deletions
|
|
@ -179,7 +179,7 @@ function openDialog() {
|
|||
}
|
||||
|
||||
async function fetchBranchById(id: string) {
|
||||
const res = await branchStore.fetchById(id);
|
||||
const res = await branchStore.fetchById(id, { includeContact: true });
|
||||
|
||||
if (res) {
|
||||
qrCodeimageUrl.value = res.qrCodeImageUrl;
|
||||
|
|
@ -198,7 +198,7 @@ async function fetchBranchById(id: string) {
|
|||
zipCode: res.zipCode,
|
||||
email: res.email,
|
||||
contactName: res.contactName,
|
||||
contact: '',
|
||||
contact: res.contact[0].telephoneNo,
|
||||
telephoneNo: res.telephoneNo,
|
||||
longitude: res.longitude,
|
||||
latitude: res.latitude,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue