diff --git a/src/pages/01_branch-management/MainPage.vue b/src/pages/01_branch-management/MainPage.vue index 34c241d9..e33644d6 100644 --- a/src/pages/01_branch-management/MainPage.vue +++ b/src/pages/01_branch-management/MainPage.vue @@ -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,