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) {
|
async function fetchBranchById(id: string) {
|
||||||
const res = await branchStore.fetchById(id);
|
const res = await branchStore.fetchById(id, { includeContact: true });
|
||||||
|
|
||||||
if (res) {
|
if (res) {
|
||||||
qrCodeimageUrl.value = res.qrCodeImageUrl;
|
qrCodeimageUrl.value = res.qrCodeImageUrl;
|
||||||
|
|
@ -198,7 +198,7 @@ async function fetchBranchById(id: string) {
|
||||||
zipCode: res.zipCode,
|
zipCode: res.zipCode,
|
||||||
email: res.email,
|
email: res.email,
|
||||||
contactName: res.contactName,
|
contactName: res.contactName,
|
||||||
contact: '',
|
contact: res.contact[0].telephoneNo,
|
||||||
telephoneNo: res.telephoneNo,
|
telephoneNo: res.telephoneNo,
|
||||||
longitude: res.longitude,
|
longitude: res.longitude,
|
||||||
latitude: res.latitude,
|
latitude: res.latitude,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue